[asterisk-users] Converting MP3 files to wav for Asterisk

Ishfaq Malik ish at pack-net.co.uk
Fri Mar 4 03:03:42 CST 2011


On Thu, 2011-03-03 at 08:19 -0800, Steve Edwards wrote:
> Try something 'simpler'
> 
>         mpg123 -q -w "${TEMP}" "${INPUT}"
>         sox "${TEMP}" -c 1 -s -w -r 8000 "${OUTPUT}"
> 
> and see if that helps. Otherwise, how do the 'intermediate' files in
> your 
> process sound? Can you hear when things fall apart? 

I had been having the same issue and this above method has really
improved the quality of my wav files (I had previously been using
sox -V "${INPUT}" -r 8000 -c 1 -s "${OUTPUT}" resample -ql)

Thanks for that

Ish
-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062




More information about the asterisk-users mailing list