pub struct TuningEstimate {
pub ref_freq_hz: f32,
pub deviation_cents: f32,
pub confidence: f32,
}Expand description
Estimated tuning: the recovered reference frequency and its deviation from the
nominal anchor, plus a confidence in [0, 1] (resultant-vector concentration —
high when peaks agree on one tuning, low for noise / inharmonic material).
Fields§
§ref_freq_hz: f32Recovered reference frequency (Hz) for the equal-tempered grid.
deviation_cents: f32Deviation from the nominal anchor, in cents (range about ±50).
confidence: f32Confidence [0, 1]: circular concentration of the peak deviations.
Trait Implementations§
Source§impl Clone for TuningEstimate
impl Clone for TuningEstimate
impl Copy for TuningEstimate
Source§impl Debug for TuningEstimate
impl Debug for TuningEstimate
Source§impl PartialEq for TuningEstimate
impl PartialEq for TuningEstimate
impl StructuralPartialEq for TuningEstimate
Auto Trait Implementations§
impl Freeze for TuningEstimate
impl RefUnwindSafe for TuningEstimate
impl Send for TuningEstimate
impl Sync for TuningEstimate
impl Unpin for TuningEstimate
impl UnsafeUnpin for TuningEstimate
impl UnwindSafe for TuningEstimate
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