Sebastian Mares
Dec 20 2006, 17:57
I was wondering if -a and -m m in LAME do the same thing. If not, what's the difference?
robert
Dec 20 2006, 18:12
-a: mono channel = (l+r)/2
-mm: mono channel = l
Sebastian Mares
Dec 21 2006, 04:41
I just found this page:
http://lame.cvs.sourceforge.net/*checkout*.../switchs.html#mDoes it mean that the page is not accurate? For both -a and -m m it states that "The downmix is calculated as the sum of the left and right channel, attenuated by 6 dB"
Sebastian Mares
Dec 21 2006, 06:12
OK, just did a test: I generated some noise with Audition. The first 10 seconds are noise on the left channel only, the other 10 seconds are noise on the right channel only. I exported the data as stereo PCM Wave file and encoded with LAME using both -a and -m m. Both files are the same (=identical). If -m m would encode left channel only, wouldn't this mean that the resulting MP3 would have noise on both channels for 10 seconds and then 10 seconds of silence (because the last 10 seconds are noise on the right channel only)?
robert
Dec 21 2006, 06:33
Well, it makes some difference if you feed in RAW PCM into LAME:
-a will downmix (l+r)/2
-mm will tell LAME there is only one channel
With stereo input from wave files, you see some message about "autoconverting from stereo to mono" passing by, LAME adds "-a" automatically.
Sebastian Mares
Dec 21 2006, 06:37
I am wondering if fb2k pipes data as raw PCM or if it also sends the header.
Edit: Seems that with fb2k, -a and -m m also produce the same result so it doesn't pipe raw PCM. Anyways, I switched to -a just to be safe.
Mangix
Dec 22 2006, 01:19
foobar2000 also has a DSP which converts an audio stream to mono which might be useful in your case
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.