Returns the index of a specific frequency for FFT data.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- frequency
- Type: SystemInt32
The frequency (in Hz) for which to get the index. - length
- Type: SystemInt32
The FFT data length (e.g. 4096 for BASS_DATA_FFT4096). - samplerate
- Type: SystemInt32
The sampling rate of the device or stream (e.g. 44100).
Return Value
Type: Int32The index within the FFT data array (max. to length/2 -1).
Remarks
See Also