Re: audioplay and RIFF (little-endian) data, WAVE audio, GSM 6.10, mono 8000 Hz

"Jeremy C. Reed" <[email protected]> Thu, 20 Mar 2008 22:04:22 -0500 (CDT)
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
I was able to convert the GSM file (emailed from asterisk) using sox:

  sox /home/reed/tmp/msg0001.WAV  -s /home/reed/tmp/new.wav 

The -s was required for me. It is "The audio data encoding is signed 
linear (2's complement)".

Then I could play that with audioplay.

sox uses the gsm library to handle this. (I still haven't figured out how 
to convert using gsm utilities.)

  Jeremy C. Reed