#[repr(C)]pub struct Params {
pub bands_per_octave: u32,
pub ff_min: f64,
pub ff_ref: f64,
pub overlap: f64,
}Expand description
Corresponds to gaborator::parameters.
Fields§
§bands_per_octave: u32The number of frequency bands per octave. Values from 6 to 384 (inclusive) are supported. Values outside this range may not work, or may cause degraded performance.
ff_min: f64The lower limit of the analysis frequency range, in units of the sample rate. The analysis filter bank will extend low enough in frequency that ff_min falls between the two lowest frequency bandpass filters. Values from 0.001 to 0.13 are supported.
ff_ref: f64The reference frequency, in units of the sample rate. This allows fine-tuning of the analysis and synthesis filter banks such that the center frequency of one of the filters is aligned with ff_ref. If ff_ref falls outside the frequency range of the bandpass filter bank, this works as if the range were extended to include ff_ref. Must be positive. A typical value when analyzing music is 440.0 / fs, where fs is the sample rate in Hz.
Default value in C++ code is 1.0.
overlap: f64A field not documented in Gaborator reference.
Default value in C++ code is 0.7.