Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2006 12:07:17 GMT
From:      Sergey<printer@klax.tula.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/104879: Howto: Listen to IMA ADPCM .wav files on FreeBSD box
Message-ID:  <200610281207.k9SC7Hfj038329@www.freebsd.org>
Resent-Message-ID: <200610281210.k9SCAOUW030557@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610281207.k9SC7Hfj038329>