[MPlayer-dev-eng] Soft volume clip methods
Alex Beregszaszi
alex at fsn.hu
Tue Feb 22 18:51:34 CET 2005
Organization: Free Software Network (http://www.fsn.hu/)
X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; powerpc-unknown-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi,
> > Dunno, but your functions reduce dynamic range hardly, maybe you
> > would need to rescale and leave the [-1.0, +1.0] samples as is.
>
> I'm not sure what do you mean. The goal of a volume clip function is
> to bring the out of bounds values back in range. It should have
> minimal effect on samples within the range. When you says it "reduce
> dynamic range hardly", do you mean it reduces the range too much, or
> you mean it does not reduce it enough? This is not volume
> normalizing, the goal is to keep the dynamic range as much as
> possible, but bring the OOB values down. You cannot rescale, because
> that would affect even the quiet parts, which you would like to leave
> alone. This also means that you cannot leave [-1,1] alone, because
> that already uses up the full range, so you have no room left to put
> the OOB values.
Just take the sin method, it reduces the dynamic range as it changes the
inside bounds samples aswell.
--
Alex Beregszaszi e-mail: alex at fsn.hu
Free Software Network cell: +36 70 3144424
More information about the MPlayer-dev-eng
mailing list