Play Wav File

Home » Asterisk Users » Play Wav File
Asterisk Users 2 Comments

I have an mp3 that is 128K, 44.1K stereo. I convert that to wave 16 bit, stereo, 44.1K

The “sound” alike at this time.

I want to play them (not just over my sound port) but through Asterisk on select devices/machines that are also running asterisk over the Console/dsp.

I converted the wave file to 8K, mono and it doesn’t sound very good, I
am also using 1.4.43 and ulaw,alaw,gsm allowed.

What format will give me the best sounding output and how do I get that?
Do I need somethink like g722?

Thanks,

Jerry

2 thoughts on - Play Wav File

  • If you’re going to stay with 1.4.X probably g722 would be best for you. If you work a while with SOX, you should end up with 8K files that sound
    “almost as good” as the 44K wav files.

    —–Original Message—

  • This has been covered just recently, try searching for “mp3” on the mailing list.

    What format will give me the best sounding output and how do I get that?
    Keep in mind that you are going to be using codecs and hardware that are optimized for speech, so anything that isn’t speech is not going to sound good. In that case, “best” is really going to depend on what the content is and will probably require you to simply test all of the permutations and find the one that sounds the “least bad”.