[−][src]Struct gaborator_sys::Params
Corresponds to gaborator::parameters
.
Fields
bands_per_octave: u32
The 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: f64
The 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: f64
The 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: f64
A field not documented in Gaborator reference.
Default value in C++ code is 0.7
.
Trait Implementations
impl ExternType for Params
[src]
type Id = (g, a, b, b, r, i, d, g, e, (), P, a, r, a, m, s)
A type-level representation of the type's C++ namespace and type name. Read more
type Kind = Trivial
Either cxx::kind::Opaque
or cxx::kind::Trivial
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Params
[src]
impl Send for Params
[src]
impl Sync for Params
[src]
impl Unpin for Params
[src]
impl UnwindSafe for Params
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,