pub struct Section {
pub start: f64,
pub duration: f64,
pub confidence: f64,
pub loudness: f64,
pub tempo: f64,
pub tempo_confidence: f64,
pub key: i32,
pub key_confidence: f64,
pub mode: i32,
pub mode_confidence: f64,
pub time_signature: i32,
pub time_signature_confidence: f64,
}
Expand description
Struct representing sections in a track for audio analysis Section: Sections are defined by large variations in rhythm or timbre, e.g. chorus, verse, bridge, guitar solo, etc. Each section contains its own descriptions of tempo, key, mode, time_signature, and loudness.
Fields§
§start: f64
§duration: f64
§confidence: f64
§loudness: f64
§tempo: f64
§tempo_confidence: f64
§key: i32
§key_confidence: f64
§mode: i32
§mode_confidence: f64
§time_signature: i32
§time_signature_confidence: f64
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
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