pub struct PitchEstimate {
pub f0_hz: f32,
pub confidence: f32,
}Expand description
One fundamental-frequency estimate for a single frame.
f0_hz == 0.0 denotes an unvoiced / undetected frame (with confidence
near zero). Estimates are epistemic proposals, not ground truth.
Fields§
§f0_hz: f32Estimated fundamental frequency in Hz (0.0 = unvoiced).
confidence: f32Voicing confidence in [0, 1] (1 = strongly periodic).
Implementations§
Source§impl PitchEstimate
impl PitchEstimate
Trait Implementations§
Source§impl Clone for PitchEstimate
impl Clone for PitchEstimate
impl Copy for PitchEstimate
Source§impl Debug for PitchEstimate
impl Debug for PitchEstimate
Source§impl PartialEq for PitchEstimate
impl PartialEq for PitchEstimate
impl StructuralPartialEq for PitchEstimate
Auto Trait Implementations§
impl Freeze for PitchEstimate
impl RefUnwindSafe for PitchEstimate
impl Send for PitchEstimate
impl Sync for PitchEstimate
impl Unpin for PitchEstimate
impl UnsafeUnpin for PitchEstimate
impl UnwindSafe for PitchEstimate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more