From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from axis.scu.edu.au(wwwproxy.scu.edu.au[203.2.32.1]) (1842 bytes) by braille.uwo.ca via smail with P:esmtp/D:aliases/T:pipe (sender: ) id for ; Thu, 24 Aug 2000 03:56:45 -0400 (EDT) (Smail-3.2.0.102 1998-Aug-2 #2 built 1999-Sep-5) Received: from alsvid.scu.edu.au (alsvid.scu.edu.au [203.2.33.1]) by axis.scu.edu.au (8.9.1a/8.9.1) with ESMTP id RAA08111 for ; Thu, 24 Aug 2000 17:56:42 +1000 (EST) Received: from data.home (mail@annex3.scu.edu.au [203.2.32.103]) by alsvid.scu.edu.au (8.9.2/8.9.2) with ESMTP id RAA10791 for ; Thu, 24 Aug 2000 17:56:41 +1000 (EST) Received: from geoff by data.home with local-esmtp (Exim 3.12 #1 (Debian)) id 13RrsO-0000rS-00; Thu, 24 Aug 2000 17:56:40 +1000 Date: Thu, 24 Aug 2000 17:56:40 +1000 (EST) From: Geoff Shang To: speakup@braille.uwo.ca Subject: Re: Slashdot interview re: vorbis In-Reply-To: <3.0.6.32.20000821232155.007cadd0@mail.ufw2.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-Id: Hi Brent: I see that you've already been given the command to write a WAV file from MPG123. I might just point out that (A) Not all programs will pipe to standard output without being asked, and (B) there's vertually no need to ever pipe to arecord, as you could redirect outjput to a file. For example: mpg123 -s filename.mp3 |arecord -m filename.wav would have done what you wanted, since the -s tells it to write to standard output (stdout). But it's far more efficient to do this: mpg123 -s filename.mp3 >filename.wav This uses the shell to redirect standard output to a file. You could use 2 greaterthans to append rather than to rewrite. Of course, this is a bad example since MPG123 will do it itself with -w which I recommend above both of the above. Geoff. -- Geoff Shang ICQ number 43634701