Thanks for adding it to the list Mark. I think your idea for low & highpass options
would work very well. It would also fix the VBR problem I posted.
I can see it would benefit sound quality considerably for FM radio people who would
want a sharp cut-off at 15khz.
I am a programmer but in a 4GL database language so I can't help directly with Lame
development. However, I don't understand the need for 2 variables for the filter.
Why do you need to start applying the filter earlier than the cut-off frequency? I
would prefer a sharp cut-off. If required, we may need another option to specify this
fade-in filtering.
Cheers,
Ross.
> I added this to the todo list. I think it would be best to
> have a --lowpass <freq> and --highpass <freq> options, and
> remove the -k and sfb21 switches alltogether. The default
> lowpass frequency would then depend on the bitrate and sampling
> rate.
>
> But in the mean time, it is easy to add this:
> for example, in lame.c around line 724, if you hard code
>
> lowpass1=.50
> lowpass2=.65
>
> it will start applying the filter at 22*lowpass1 kHz,
> with all frequencies above 22*lowpass2 kHz removed.
>
> (22 is assuming 44kHz sampling frequency.)
>
> Mark
>
> --
> MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )