Struct imbe::descramble::VoiceDecisions
[−]
[src]
pub struct VoiceDecisions { /* fields omitted */ }
Tracks harmonic voiced/unvoiced decisions.
The decisions are initialized from the received "tilde" vl vector [p25-26], and then may be modified by adaptive smoothing to force certain harmonics as voiced [p49], which forms the "overbar" vl vector.
Methods
impl VoiceDecisions
[src]
pub fn new(voiced: u32, params: &BaseParams) -> VoiceDecisions
[src]
Create a new VoiceDecisions
from the given band voiced/unvoiced bitmap,
b1, and frame parameters.
pub fn force_voiced(&mut self, l: usize)
[src]
Force the given harmonic to be voiced.
pub fn unvoiced_count(&self) -> u32
[src]
Compute the number of unvoiced spectral amplitudes/harmonics, Luv.
pub fn is_voiced(&self, l: usize) -> bool
[src]
Check if the given harmonic is voiced.
Trait Implementations
impl Copy for VoiceDecisions
[src]
impl Clone for VoiceDecisions
[src]
fn clone(&self) -> VoiceDecisions
[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