Gets the interpolated amplification value for a given frequency band.
Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- channel
- Type: SystemInt32
The channel for which to detect the presence of the frequency band. - freq1
- Type: SystemInt32
The lower bound of the frequency band (in Hz). - freq2
- Type: SystemInt32
The upper bound of the frequency band (in Hz). - linear
- Type: SystemBoolean
, if linear scaling (see ScaleFactorLinear) should be applied to the FFT data. , to scale by Sqr (see ScaleFactorSqr) to make low values more visible (recommended).
Return Value
Type: SingleThe interpolated amplification level of the given frequency band. Note: The level is scaled either linerar or by Sqr, meaning values above 1.0 can be returned.
See Also