|
From: Daniel P. <DP...@ne...> - 2007-12-18 16:27:21
|
To pipe, use hyphens for the appropriate output/input params: sox input output | lame input output becomes sox input.wav - | lame - output.mp3 HTH -Dan -----Original Message----- From: Ryan van Roode [mailto:ry...@go...] Sent: Monday, December 17, 2007 10:23 PM To: sox...@li... Subject: Re: [SoX-users] compressing an mp3 while maintaining the sampling rate On 12/14/07, Hugues Lajeunesse < <mailto:hu...@ch...> hu...@ch...> wrote: may you decrease the bit rate? Something like -r44100 -b8 ? Has I didn't use the mp3 with sox, I can't be sure if it's possible. It looks like the solution is to take the file sox produces and put it through lame: lame --silent -b 80 --resample 44.1 one.mp3 two.mp3 For some reason I can't figure out how to pipe the sox output to lame, but using two separate commands works for now. Thanks very much. ~ryan |