Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2002 10:55:03 +0200
From:      Marc Fonvieille <blackend@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Hanspeter Roth <hanspeter_roth@hotmail.com>
Subject:   Re: converting cdr/acd0t1 to wav
Message-ID:  <20020916085503.GE262@marduk.blackend.org>
In-Reply-To: <20020916084226.GC262@marduk.blackend.org>
References:  <20020916103617.A651@gicco.cablecom.ch> <20020916084226.GC262@marduk.blackend.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 16, 2002 at 10:42:26AM +0200, Marc Fonvieille wrote:
> On Mon, Sep 16, 2002 at 10:36:17AM +0200, Hanspeter Roth wrote:
x
> > 
> > Hello,
> > 
> > I'm trying to convert /dev/acd0t1 to a wav format file.
> > Thus I did
> > 
> > dd if=/dev/acd0t1 of=1.cdr bs=2352
> > sox 1.cdr 1.wav
> > 
> > But when playing 1.wav there is only noise.
> > Other wavs from /windows/media sound ok.
> >
> Have a look in the Handbook to
> 
> "16.3.4 Decoding MP3s" at
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-mp3.html
> 
> there is an example about raw-->wav conversion with SoX.
>
Err my bad it's a wav-->raw example :))
The syntax is very close for raw-->wav:

sox -t raw -r 44100 -s -w -c 2 file.raw file.wav

Marc

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




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