pub struct Match {
pub recording: usize,
pub offset: f64,
pub drift_ppm: f64,
pub drift_measured: bool,
pub coarse: f64,
pub margin: f64,
pub fine: f64,
pub windows: usize,
pub inliers: usize,
pub residual_ms: f64,
pub confidence: f64,
}Expand description
Where a clip sits in a recording.
Fields§
§recording: usizeIndex into the recordings.
offset: f64Recorder time (s) of clip time 0: recorder = offset + clip * (1 + drift_ppm / 1e6).
drift_ppm: f64§drift_measured: boolWhether the drift was measured on this clip (else borrowed or 0).
coarse: f64Coarse envelope correlation peak (0..1).
margin: f641 - runner-up / peak of the coarse correlation.
fine: f64Mean fine correlation of the inlier windows (0..1).
windows: usize§inliers: usize§residual_ms: f64RMS residual of the inlier windows against the fitted line (ms).
confidence: f64fine * margin * inliers / windows.
Trait Implementations§
impl StructuralPartialEq for Match
Auto Trait Implementations§
impl Forget for Match
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnsafeUnpin for Match
impl UnwindSafe for Match
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