看板 FB_doc 關於我們 聯絡資訊
>Number: 104879 >Category: docs >Synopsis: Howto: Listen to IMA ADPCM .wav files on FreeBSD box >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Oct 28 12:10:24 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Sergey >Release: >Organization: TSU >Environment: >Description: http://www.bsdforums.org/forums/showthread.php?t=39412 Howto: Listen to IMA ADPCM .wav files on your FreeBSD box I hope this howto will spare someone the headache it caused me this afternoon. So you have a .wav file from your voicemail system (or wherever) that you discover is in IMA ADPCM format. Code: user@someplace$ file VoiceMsg.wav VoiceMsg.wav: RIFF (little-endian) data, WAVE audio, IMA ADPCM, mono 8000 Hz Install two ports: * /usr/ports/audio/sox * /usr/ports/audio/adpcm Now use sox to convert it to a suitable format. In my case I chose: Code: user@someplace$ sox -i VoiceMsg.wav -s out.wav The -s option created a MS PCM file for me, but do whatever you'd like. See sox man pages for many more options, of course. P.S. This was tested and confirmed on a FreeBSD 5.4-RELEASE box. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"