Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2001 19:30:26 -0600 (CST)
From:      Conrad Sabatier <cjsabatier@home.com>
To:        "Donald J . Maddox" <dmaddox@sc.rr.com>
Cc:        Kevin LEE <klee@esec.com.au>, "multimedia@FreeBSD.ORG" <multimedia@FreeBSD.ORG>, "Jason J. Horton" <jason@intercom.com>
Subject:   Re: Tools for converting MP3 to wav file
Message-ID:  <XFMail.20010104193026.cjsabatier@home.com>
In-Reply-To: <20010104195632.A388@cae88-102-101.sc.rr.com>

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

On 05-Jan-2001 Donald J . Maddox wrote:
> On Thu, Jan 04, 2001 at 06:44:07PM -0600, Conrad Sabatier wrote:
>> 
>> On 03-Jan-2001 Jason J. Horton wrote:
>> >>         I just want to know what tools in the port tree will allow me to
>> >> convert MP3 file to a wav file.
>> > 
>> > /usr/ports/audio/mpg123
>> > 
>> > try:
>> > mpg123 -w filename.wav filename.mp3
>> 
>> This doesn't create a wave file, but rather a raw pcm file.  What you need
>> to
>> do is install sox as well, then:
>> 
>> mpg123 -s filename.mp3 | sox -t raw -s -w -r 44100 -c 2 - filename.wav
> 
> Uh, mpg123 -w *does* produce wave files:

Right you are.  I was confusing the -s and -w switches.  My bad. 

-- 
Conrad Sabatier
http://members.home.net/conrads/
ICQ# 1147270


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




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