Struct imbe::voiced::Phase
[−]
[src]
pub struct Phase(_);
Computes the random phase terms Φl.
Methods
impl Phase
[src]
pub fn new<R: Rng>(
base: &PhaseBase,
params: &BaseParams,
prev: &PrevFrame,
voice: &VoiceDecisions,
noise: R
) -> Self
[src]
base: &PhaseBase,
params: &BaseParams,
prev: &PrevFrame,
voice: &VoiceDecisions,
noise: R
) -> Self
Create a new Phase
building on the given base phase terms.
pub fn get(&self, l: usize) -> f32
[src]
Retrieve the phase term Φl, 1 ≤ l ≤ 56.