frequency method
Returns the frequency that the given index of FFT output represents.
samplesPerSecond
is the sampling rate of the input signal in Hz. The
result is also in Hz.
Implementation
double frequency(int index, double samplesPerSecond) =>
_fft.frequency(index, samplesPerSecond);