Bug 104879

Summary: Howto: Listen to IMA ADPCM .wav files on FreeBSD box
Product: Documentation Reporter: Sergey <printer>
Component: DocumentationAssignee: freebsd-doc (Nobody) <doc>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Sergey 2006-10-28 13:10:24 UTC
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.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:13 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped