tx:work$ file /home/reed/tmp/msg0001.WAV
/home/reed/tmp/msg0001.WAV: RIFF (little-endian) data, WAVE audio, GSM
6.10, mono 8000 Hz
Any suggestions on using audioplay with this?
FWIW, I don't know how to get splay to play it either.
Jeremy C. Reed
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de
> tx:work$ audioplay /home/reed/tmp/msg0001.WAV
> audioplay: unsupported WAV format: /home/reed/tmp/msg0001.WAV
>
>
> tx:work$ file /home/reed/tmp/msg0001.WAV
> /home/reed/tmp/msg0001.WAV: RIFF (little-endian) data, WAVE audio, GSM
> 6.10, mono 8000 Hz
>
>
> Any suggestions on using audioplay with this?
>
> FWIW, I don't know how to get splay to play it either.
pkgsrc/audio/gsm or some other package that links against it
should do it.
Cheers,
-Tobias
Any examples?
I renamed my file to .gsm extention.
tcat complained:
tcat: bad frame in /home/reed/tmp/msg0001.WAV.gsm
I was hoping I could pipe that into audioplay. I don't know why tcat
assumes extension is .gsm.
The file is from email from Asterisk PBX.
Jeremy C. Reed
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.)