From nobody@FreeBSD.org  Sat Oct 28 12:07:18 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 216DC16A412
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Oct 2006 12:07:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E33FB43D49
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Oct 2006 12:07:17 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k9SC7HnW038330
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Oct 2006 12:07:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k9SC7Hfj038329;
	Sat, 28 Oct 2006 12:07:17 GMT
	(envelope-from nobody)
Message-Id: <200610281207.k9SC7Hfj038329@www.freebsd.org>
Date: Sat, 28 Oct 2006 12:07:17 GMT
From: Sergey<printer@klax.tula.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Howto: Listen to IMA ADPCM .wav files on FreeBSD box
X-Send-Pr-Version: www-3.0

>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:       handbook
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 28 12:10:24 GMT 2006
>Closed-Date:    
>Last-Modified:  Tue Aug 31 22:18:55 UTC 2010
>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:
