HydrogenAudio

Lossy Audio Compression => MP3 => MP3 - Tech => Topic started by: arfgh on 2011-10-04 20:55:09

Title: encode with lame and with no lowpass frequency ?
Post by: arfgh on 2011-10-04 20:55:09
how to encode with lame but without a lowpass frequency and obtain in the final result the full spectrum sound. That is 22050 Hz.
I have seen some mp3 files encoded by unknown encoder that was capable to do it.

thx in advance
Title: encode with lame and with no lowpass frequency ?
Post by: pdq on 2011-10-04 21:14:39
There is a switch for that. I recommend that you do not use it.
Title: encode with lame and with no lowpass frequency ?
Post by: mjb2006 on 2011-10-05 00:16:20
This was just discussed in two recent threads:
[a href='index.php?showtopic=90808']link[/a] and [a href='index.php?showtopic=91104']link[/a]

In summary:

A lot of work has gone into making sure LAME's default settings produce ideal results. There are knobs you can tweak, but you must realize that the MP3 format has limitations (particularly in regard to the highest frequency band) that have already been taken into account, and you're working with limited bandwidth as well. An adjustment to improve the sound in one way is quite likely to degrade the sound in another way. Do you want the higher frequencies to be preserved if it means adding noise across the entire spectrum?
Title: encode with lame and with no lowpass frequency ?
Post by: greynol on 2011-10-05 00:48:23
At least one of the original posters in those two links acknowledged what was being said about possible reductions in quality.
Title: encode with lame and with no lowpass frequency ?
Post by: arfgh on 2011-10-05 15:19:49
Quote
* -k    full bandwidth

    Tells the encoder to use full bandwidth and to disable all filters. By default, the encoder uses some highpass filtering at low bitrates, in order to keep a good quality by giving more bits to more important frequencies.
    Increasing the bandwidth from the default setting might produce ringing artefacts at low bitrates. Use with care!


this was extracted from the lame 3.93.1 documentation.
I think that this encoder version was the last to allow the use of the -k switch.

it warns about use with care (with low bitrates) but, what about if we use the cbr 320 bitrate ?
Title: encode with lame and with no lowpass frequency ?
Post by: db1989 on 2011-10-05 18:16:15
Quote
I think that this encoder version was the last to allow the use of the -k switch.
Another way in which to disable the lowpass is given at the first link provided by mjb2006 above.

Quote
but, what about if we use the cbr 320 bitrate ?
Still diverting bits to frequencies that you probably cannot hear, possibly reducing quality in frequency bands that you can. Why would its being CBR make any substantial difference to this fact?
Title: encode with lame and with no lowpass frequency ?
Post by: Aleron Ives on 2011-10-06 03:14:00
Why would its being CBR make any substantial difference to this fact?

I think he was (incorrectly) assuming that 320 CBR is such a "generous" bitrate that it would be possible to preserve all the high frequencies without any quality loss in the lower ones.
Title: encode with lame and with no lowpass frequency ?
Post by: arfgh on 2011-10-16 21:26:36
well, i have tried to disable the lowpass with the lame 3.98.4, and was no possible. using lowpass -1  and using lowpass 22050, etc.
none of them have disabled the lowpass.

I have made tests with other lame versions, to reach teh 'famous' 3.93.1, and none of them execept this last one was able to disable.

The thing that i want to know is if the result using the '3.93.1 cbr320 -k' switch is able to produce best quality results than the 'cbr320 in 3.98.4'.
I know that these frequencies are not audible, but the result is best quality... or not ?
Title: encode with lame and with no lowpass frequency ?
Post by: punkrockdude on 2011-10-18 21:19:34
Use version 3.99 and V 0 for no or very little low passing. Regards.
Title: encode with lame and with no lowpass frequency ?
Post by: arfgh on 2011-10-19 15:09:50
but i want to use the cbr 320, not the vbr.

this lame 3.99 is strange, because the lowpass -1 is again working, but it implements a lowpass at 21.5 Khz, Strage !
Title: encode with lame and with no lowpass frequency ?
Post by: greynol on 2011-10-19 16:48:59
Have you ever even bothered to conduct a double-blind listening test?

This thread will close until you can demonstrate to me via personal message that the answer is yes.