pub struct RigidGridFit {
pub bpm: f64,
pub phase_secs: f64,
pub phase_lock: f32,
pub score: f64,
pub beats_secs: Vec<f64>,
}Expand description
A fitted rigid grid.
Fields§
§bpm: f64Fitted tempo in BPM.
phase_secs: f64Grid anchor in seconds (first grid point, mod period).
phase_lock: f32Phase decisiveness in [0, 1]: winner vs the best phase at least an eighth-period away. Low values mean competing phases score nearly as well (offbeat-heavy or weakly periodic material).
score: f64Mean kick-band onset strength at the grid points (the objective).
beats_secs: Vec<f64>Beat times in seconds over the active region, ascending.
Trait Implementations§
Source§impl Clone for RigidGridFit
impl Clone for RigidGridFit
Source§fn clone(&self) -> RigidGridFit
fn clone(&self) -> RigidGridFit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RigidGridFit
impl RefUnwindSafe for RigidGridFit
impl Send for RigidGridFit
impl Sync for RigidGridFit
impl Unpin for RigidGridFit
impl UnsafeUnpin for RigidGridFit
impl UnwindSafe for RigidGridFit
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