autocorr_fft

Function autocorr_fft 

Source
pub fn autocorr_fft(
    buffer: &[f32],
    result: &mut [f32],
    scratch_buffer: &mut [f32],
    lag_count: usize,
)
Expand description

Computes the autocorrelation of a given buffer using FFT.

ยงArguments

  • buffer - Input buffer
  • result - A buffer to write the result to.
  • scratch_buffer - A scratch buffer used for temporary storage.
  • lag_count - The length of the computed autocorrelation.