Bug 104879 - Howto: Listen to IMA ADPCM .wav files on FreeBSD box
Summary: Howto: Listen to IMA ADPCM .wav files on FreeBSD box
Status: Closed Overcome By Events
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-28 13:10 UTC by Sergey
Modified: 2022-10-24 06:15 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 2 Graham Perrin 2022-10-23 17:19:20 UTC
(In reply to Sergey from comment #0)

Thank you, unfortunately one of the two ports was deleted around five years after your offer: 

<https://www.freshports.org/audio/adpcm/#history>
Comment 3 Alexey Dokuchaev freebsd_committer freebsd_triage 2022-10-24 06:15:59 UTC
Not sure why this PR had been opened in the first place as it simply describes pretty standard usage scenario for SoX (also known as Sound eXchange).  Adding to this the fact that `audio/adpcm' had long expired, I'm closing it.