From owner-freebsd-doc@FreeBSD.ORG Sat Oct 28 12:10:31 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FE9816A403 for ; Sat, 28 Oct 2006 12:10:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0966743D5D for ; Sat, 28 Oct 2006 12:10:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9SCAOKD030558 for ; Sat, 28 Oct 2006 12:10:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9SCAOUW030557; Sat, 28 Oct 2006 12:10:24 GMT (envelope-from gnats) Resent-Date: Sat, 28 Oct 2006 12:10:24 GMT Resent-Message-Id: <200610281210.k9SCAOUW030557@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergey Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 216DC16A412 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: docs/104879: Howto: Listen to IMA ADPCM .wav files on FreeBSD box X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Oct 2006 12:10:31 -0000 >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: