[vlc-devel] karaoke filter
juha.jeronen at jyu.fi
Fri Apr 15 13:59:33 CEST 2011
On 04/15/2011 02:25 PM, Steinar H. Gunderson wrote:
> On Fri, Apr 15, 2011 at 07:16:04PM +0800, 郭宇宏 wrote:
>> a[i] = (a[i] - a[i+1]) * 0.7;
> My guess is that this is really 1/sqrt(2), which makes sense from an energy
> point of view (or at least would, if the channels were independent; if not,
> it depends on the correlation), but can cause clipping.
Ok. Thanks. It did look a lot like 1/sqrt(2) :)
Maybe for float samples (if we support those), 1/sqrt(2) would make
sense, and for integer (16-bit) samples, 0.5?
More information about the vlc-devel