From owner-freebsd-multimedia Sat May 16 23:51:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA12985 for freebsd-multimedia-outgoing; Sat, 16 May 1998 23:51:34 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from xcf.berkeley.edu (scam.XCF.Berkeley.EDU [128.32.43.201]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA12980 for ; Sat, 16 May 1998 23:51:31 -0700 (PDT) (envelope-from grady@scam.XCF.Berkeley.EDU) From: grady@scam.XCF.Berkeley.EDU Message-Id: <199805170651.XAA12980@hub.freebsd.org> Received: (qmail 14259 invoked from network); 17 May 1998 06:52:47 -0000 Received: from localhost.berkeley.edu (HELO scam.XCF.Berkeley.EDU) (127.0.0.1) by localhost.berkeley.edu with SMTP; 17 May 1998 06:52:47 -0000 To: The Hermit Hacker Cc: multimedia@FreeBSD.ORG Subject: Re: new audio mpeg encoder In-reply-to: Your message of Sat, 16 May 1998 23:30:11 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14255.895387961.1@scam.XCF.Berkeley.EDU> Date: Sat, 16 May 1998 23:52:43 -0700 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I used tosha to grab the track, which produces a wave file, no? But I get > > told: > > No. > > >From the tosha(1) manpage: > The output data is in linear PCM format, headerless (raw), > 44.1 kHz, signed 16 bit stereo. If you need a different > format, use sox(1) to convert it. Specifically, you might want a script such as: #!/bin/csh tosha -t 1-100 foreach f (*.pcm) set g=$f:r set w=$g.wav set m=$g.mp3 echo Converting $f to $w sox -t raw -r 44100 -s -w -c 2 $f $w rm $f 8hz-mp3 $w $m rm $w end If you're low on disk space, you'll probably want to grab the tracks one at a time, instead of all at once. The changes are left as an exercise for the reader. Steven -- "_My_ side of the woods abounds in natural scenic splendor. _Your_ side wallows in decay and filth. My territory is infinitely superior to yours." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message