pub struct STFT<T> where
    T: FftNum + FromF64 + Float
{ pub window_size: usize, pub step_size: usize, pub fft: Arc<dyn Fft<T>>, pub window: Vec<T>, pub sample_ring: SliceRingImpl<T>, pub real_input: Vec<T>, pub complex_input: Vec<Complex<T>>, pub complex_output: Vec<Complex<T>>, }

Fields

window_size: usizestep_size: usizefft: Arc<dyn Fft<T>>window: Vec<T>sample_ring: SliceRingImpl<T>real_input: Vec<T>complex_input: Vec<Complex<T>>complex_output: Vec<Complex<T>>

Implementations

Computes a column of the spectrogram

Make a step Drops self.step_size samples from the internal buffer self.sample_ring.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.