Struct imbe::voiced::Voiced
[−]
[src]
pub struct Voiced<'a, 'b, 'c, 'd> { /* fields omitted */ }
Synthesizes voiced spectrum signal sv(n).
Methods
impl<'a, 'b, 'c, 'd> Voiced<'a, 'b, 'c, 'd>
[src]
pub fn new(
params: &BaseParams,
prev: &'a PrevFrame,
phase: &'b Phase,
amps: &'c EnhancedSpectrals,
voice: &'d VoiceDecisions
) -> Self
[src]
params: &BaseParams,
prev: &'a PrevFrame,
phase: &'b Phase,
amps: &'c EnhancedSpectrals,
voice: &'d VoiceDecisions
) -> Self
pub fn get(&self, n: usize) -> f32
[src]
Compute the voiced signal sample sv(n) for the given sample n, 0 ≤ n < 160.