Struct bliss_audio_aubio_rs::FFT [−][src]
pub struct FFT { /* fields omitted */ }
Expand description
FFT (Fast Fourier Transformation) object
This object computes forward and backward FFTs.
Depending on how aubio was compiled, FFT are computed using one of:
- Ooura
- FFTW3
- vDSP
Implementations
impl FFT
[src]
impl FFT
[src]pub fn do_<'i, 'o, I, O>(&mut self, input: I, spectrum: O) -> Status where
I: Into<FVec<'i>>,
O: Into<CVecMut<'o>>,
[src]
pub fn do_<'i, 'o, I, O>(&mut self, input: I, spectrum: O) -> Status where
I: Into<FVec<'i>>,
O: Into<CVecMut<'o>>,
[src]Compute forward (direct) FFT
pub fn rdo<'i, 'o, I, O>(&mut self, spectrum: I, output: O) -> Status where
I: Into<CVec<'i>>,
O: Into<FVecMut<'o>>,
[src]
pub fn rdo<'i, 'o, I, O>(&mut self, spectrum: I, output: O) -> Status where
I: Into<CVec<'i>>,
O: Into<FVecMut<'o>>,
[src]Compute backward (inverse) FFT
pub fn do_complex<'i, 'o, I, O>(&mut self, input: I, compspec: O) -> Status where
I: Into<FVec<'i>>,
O: Into<FVecMut<'o>>,
[src]
pub fn do_complex<'i, 'o, I, O>(&mut self, input: I, compspec: O) -> Status where
I: Into<FVec<'i>>,
O: Into<FVecMut<'o>>,
[src]Compute forward (direct) FFT
pub fn rdo_complex<'i, 'o, I, O>(&mut self, compspec: I, output: O) -> Status where
I: Into<FVec<'i>>,
O: Into<FVecMut<'o>>,
[src]
pub fn rdo_complex<'i, 'o, I, O>(&mut self, compspec: I, output: O) -> Status where
I: Into<FVec<'i>>,
O: Into<FVecMut<'o>>,
[src]Compute backward (inverse) FFT
pub fn get_spectrum<'i, 'o, I, O>(compspec: I, spectrum: O) -> Status where
I: Into<FVec<'i>>,
O: Into<CVecMut<'o>>,
[src]
pub fn get_spectrum<'i, 'o, I, O>(compspec: I, spectrum: O) -> Status where
I: Into<FVec<'i>>,
O: Into<CVecMut<'o>>,
[src]Convert real/imag spectrum to norm/phas spectrum
pub fn get_realimag<'i, 'o, I, O>(spectrum: I, compspec: O) -> Status where
I: Into<CVec<'i>>,
O: Into<FVecMut<'o>>,
[src]
pub fn get_realimag<'i, 'o, I, O>(spectrum: I, compspec: O) -> Status where
I: Into<CVec<'i>>,
O: Into<FVecMut<'o>>,
[src]Convert norm/phas spectrum to real/imag spectrum
pub fn get_phas<'i, 'o, I, O>(compspec: I, spectrum_phas: O) -> Status where
I: Into<FVec<'i>>,
O: Into<CVecPhasMut<'o>>,
[src]
pub fn get_phas<'i, 'o, I, O>(compspec: I, spectrum_phas: O) -> Status where
I: Into<FVec<'i>>,
O: Into<CVecPhasMut<'o>>,
[src]Compute phas spectrum from real/imag parts
pub fn get_norm<'i, 'o, I, O>(compspec: I, spectrum_norm: O) -> Status where
I: Into<FVec<'i>>,
O: Into<CVecNormMut<'o>>,
[src]
pub fn get_norm<'i, 'o, I, O>(compspec: I, spectrum_norm: O) -> Status where
I: Into<FVec<'i>>,
O: Into<CVecNormMut<'o>>,
[src]Compute norm component from real/imag parts