Struct imbe::params::BaseParams
[−]
[src]
pub struct BaseParams {
pub fundamental: f32,
pub harmonics: u32,
pub bands: u32,
}Basic parameters of the current frame.
Fields
fundamental: f32
Fundamental frequency ω0 the frame is derived from.
harmonics: u32
Number of harmonics L of the fundamental frequency present in the frame.
bands: u32
Number of frequency bands K in the frame, each of which is classified as either voiced or unvoiced.
Each band contains 3 harmonics of the fundamental frequency, except the last which may contain less [p20].
Methods
impl BaseParams[src]
pub fn new(period: u8) -> BaseParams[src]
Create a new BaseParams from the given period b0.
Trait Implementations
impl Copy for BaseParams[src]
impl Clone for BaseParams[src]
fn clone(&self) -> BaseParams[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Default for BaseParams[src]
fn default() -> BaseParams[src]
Create a new BaseParams with initial default values.