Returns the frequency (in Hz) containing the maximum energy within the current FFT data when calling this method.
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 peak frequency. - energy
- Type: SystemSingle
Returns the energy (amplitude level) of the detected peak frequency.
Return Value
Type: Int32The frequency (in Hz) containing the most energy. Or 0, if an error occurred.
See Also