LAME 3.95.1 lowpass filter transition bands
2004-03-07 09:34:22
I tried searching for "lowpass" and mostly came up with suggestions for settings without much explanation. I'm hoping someone can point me to a lot of information about how the transition band works. To give everybody some background... I've been using --alt preset standard for quite some time, and the results have always been great. I did a few tests and could notice a some problems on the samples designed to break the codec but overall have been more than pleased with the transparency of the setting. I just got some relatively good tweeters for my car (a set of four Infinity Kappas with the external crossovers). By audiophile standards I'm sure this is nothing special, but it's much better than the speakers on my TV, computer, walkman, etc. They sound beautiful with most CD's, but all my MP3's sound tinny. I'm really not sure about the "--alt preset standard" encodes. Maybe it's just my mind playing tricks on me, but all my lower bitrate MP3's definitely have horrible treble. I don't care enough to re-rip all my CD's. If I do that, I may just go with FLAC. For now, though, I am concerned about the high-frequency quality of future MP3 encodes. So, I'm thinking of switching to "--alt preset extreme" for everything. I'm trying to figure out exactly what the lowpass filter does, though. I went through all the presets in LAME 3.95.1, and I noticed the following:LAME 3.95.1 polyphase lowpass filter transition bands ----------------------------------------------------- ABR 8+ transition band = 1968 Hz - 2065 Hz (resample 8 kHz) MPEG-2.5 Layer III ABR 12+ transition band = 3645 Hz - 3742 Hz (resample 8 kHz) MPEG-2.5 Layer III ABR 20+ transition band = 3903 Hz - 4000 Hz (resample 8 kHz) MPEG-2.5 Layer III ABR 28+ transition band = 5484 Hz - 5677 Hz (resample 16 kHz) MPEG-2 Layer III ABR 36+ transition band = 7032 Hz - 7226 Hz (resample 16 kHz) MPEG-2 Layer III ABR 44+ transition band = 7557 Hz - 7824 Hz (resample 22.05 kHz) MPEG-2 Layer III ABR 52+ transition band = 9774 Hz - 10065 Hz (resample 24 kHz) MPEG-2 Layer III ABR 60+ transition band = 10935 Hz - 11226 Hz (resample 24 kHz) MPEG-2 Layer III ABR 72+ transition band = 13548 Hz - 13935 Hz (resample 32 kHz) MPEG-1 Layer III ABR 88+ transition band = 15115 Hz - 15648 Hz (44.1 kHz) MPEG-1 Layer III ABR 104+ transition band = 15826 Hz - 16360 Hz ABR 120+ transition band = 17249 Hz - 17782 Hz ABR 144+ transition band = 17960 Hz - 18494 Hz ____ standard has a unique band standard transition band = 18671 Hz - 19205 Hz ABR 176+ transition band = 19383 Hz - 19916 Hz \___ ABR 176-207 shares with extreme extreme transition band = 19383 Hz - 19916 Hz / ABR 208+ transition band = 20094 Hz - 20627 Hz \___ ABR 208-320 shares with insane insane transition band = 20094 Hz - 20627 Hz / (CBR bands always match ABR bands) These bands seem a little strange to me. Doesn't a higher transition band mean that your high frequencies will sound better as long as you have enough bitrate? "--preset standard" is around 192kbps (theoretically better than ABR 192) with a transition band that starts at 18,671 Hz. Why does ABR 176 have a transition band that starts higher at 19,383 Hz when it is a lower quality encode? "--preset extreme" is around 256kbps (theoretically better than ABR 256) with a transition band that starts at 19,383 Hz. Why do the bitrates between ABR 176 and ABR 207 share the same transition band? ABR 208 has the same transition band as "--preset insane". ABR 208 is probably going to be about the same or lower quality than "--preset standard", but it shares the same band with the highest possible quality setting. It doesn't seem like a good idea, but if I want to improve high-frequency quality, should I be using the "--lowpass" and "--lowpass-width" switches? Perhaps I should do some test encodes with the "insane" setting and then move around the transition band to see if I can really tell any difference between an 18,000 Hz cutoff and a 20,000 Hz cutoff. My speakers are supposed to have a response up to 21,000 Hz. Some tweeters go up to 30,000 Hz, but I seriously doubt anything over 20,000 matters. But, OTOH, 44.1 KHz CD audio can technically reproduce frequencies up to 22,500 Hz... Why would DVD use 48 KHz which can reproduce frequencies up to 24,000 Hz if it didn't matter? Anyway, it just seems odd to me that the cutoff for "preset extreme" starts at 19,383 Hz while the cutoff for ABR 208 starts at 20,094. Maybe a higher cutoff is just wasting bitrate and I'd be better off with the lower cutoff. I'm thinking about this way too much, and I'm extremely uninformed on the topic. The bottom line is that my ears are pretty sensitive to MP3's sounding "tinny," but maybe this doesn't even have anything to do with the lowpass filter. Maybe it's just artifacts from an overall lower quality encode. Any info/recommendations are appreciated.