|
From: Christoph R. <ch...@ya...> - 2002-12-05 12:22:14
|
Hi Graham, the 8-bit-file seems to work but it is still dull. I have tried to use -c 1 or mix both, -c 2 and -c 1 (my input is stereo but the data from the input is already monoized - both channels send the same data). Doesn't work - the music in the mp3 is twice as fast as it should be. Sounds funny, like mickey mouse, but that's not what i wanted :-/ Nevertheless, thanks for your help. Maybe i have to live with WAV encoding and the crashes... :-/ Bye Chris --- Graham Lenton-Monitoring <Gra...@mo...> wrote: > Hi Chris, > > I'm not sure this is gonna be much help, > > but for mono 8kbps I'm using : > > sox -t ossdsp -w -s /dev/dsp -t raw -r 44100 -c 2 - > | \ > lame -r -m m -b 8 -x -a -s 44.1 --resample 8 - > some.mp3 > > it comes out ok (for 8 kbps!!) > > If you input is mono (?) you would need -c 1 ? > > Maybe try resampling at a lower rate to match the > 64kbps ? > > Sorry I can't be of more help but IANASE (..sox > expert) > > Graham :o) > > -----Original Message----- > From: Christoph Rupp [mailto:ch...@ya...] > Sent: 05 December 2002 10:01 > To: Graham Lenton-Monitoring; > sox...@li... > Subject: Re: [SoX-users] live-encoding of MP3 from > line-in > > > Hi Graham! > > Thanks for your help. It works far better than > before > - no more noise and static :) > > But it still sounds "damped". I have made several > tests with several parameters: > > sox -t ossdsp -w -s /dev/dsp -t raw -r 44100 -c 2 - > | > /usr/local/bin/lame -r -m m -b 64 -x -s 44.1 > --resample 44.1 - > > Note the -m m - i need mono. the result was music > which was twice as slow as before, and sounds quite > funny: > > http://www.kochenmachtspass.de/test1.mp3 > > > Now the same in stereo (joint-stereo leads to the > same > result) > > sox -t ossdsp -w -s /dev/dsp -t raw -r 44100 -c 2 - > | > /usr/local/bin/lame -r -m j -b 64 -x -s 44.1 > --resample 44.1 - > > http://www.kochenmachtspass.de/test3-ms.mp3 > (stereo) > http://www.kochenmachtspass.de/test3-mj.mp3 > (joint-stereo) > > They sound better but it's still very dull. The > quality of my "rec -t .wav -c 2 -w -s - | lame -" is > far better. And i NEED mono encoding. > > Any idea? > > Bye > Chris > > > --- Graham Lenton-Monitoring > <Gra...@mo...> wrote: > [...] > > > rec -t .wav -c 2 -w -s - | lame - > > > > > I guess my rec-settings might be correct but > lame > > > needs more parameters but whatever i try i > always > > get > > > noise. Maybe one of you has already solved this > > > problem? > > > > You betcha !! > > > > I'm using > > > > sox -t ossdsp -w -s %s -t raw -r 44100 -c 2 - | > > lame -r -m j -b 128 -x -s 44.1 --resample 44.1 - > > somefile > > > > just change the bitrate.. > > > ===== > http://www.crupp.de > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com > > > BBCi at http://www.bbc.co.uk/ > > This e-mail (and any attachments) is confidential > and may contain > personal views which are not the views of the BBC > unless specifically > stated. > If you have received it in error, please delete it > from your system, do > not use, copy or disclose the information in any way > nor act in > reliance on it and notify the sender immediately. > Please note that the > BBC monitors e-mails sent or received. Further > communication will > signify your consent to this. > ===== http://www.crupp.de __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |