pub struct TrackingState {
pub time: f64,
pub bpm: Option<f32>,
pub phase: Option<f32>,
pub meter: Option<u8>,
pub confidence: f32,
pub probabilities: [f32; 3],
}Expand description
Posterior estimates for a single 20 ms feature frame.
Fields§
§time: f64§bpm: Option<f32>§phase: Option<f32>Phase within a beat, in [0, 1); absent before the first accepted beat.
meter: Option<u8>§confidence: f32§probabilities: [f32; 3]Class probabilities: beat, downbeat, non-beat.
Trait Implementations§
Source§impl Clone for TrackingState
impl Clone for TrackingState
impl Copy for TrackingState
Source§impl Debug for TrackingState
impl Debug for TrackingState
Source§impl PartialEq for TrackingState
impl PartialEq for TrackingState
impl StructuralPartialEq for TrackingState
Auto Trait Implementations§
impl Freeze for TrackingState
impl RefUnwindSafe for TrackingState
impl Send for TrackingState
impl Sync for TrackingState
impl Unpin for TrackingState
impl UnsafeUnpin for TrackingState
impl UnwindSafe for TrackingState
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