pub struct AudioAnalysis {
pub meta: Meta,
pub track: TrackAnalysis,
pub bars: Vec<Bar>,
pub beats: Vec<Beat>,
pub sections: Vec<Section>,
pub segments: Vec<Segment>,
pub tatums: Vec<Tatum>,
}Expand description
Audio analysis for a track.
Fields§
§meta: Meta§track: TrackAnalysis§bars: Vec<Bar>The time intervals of the measures throughout the track. A measure (or bar) is a segment of time defined by a specific number of beats.
beats: Vec<Beat>The timing intervals of beats throughout the track. A beat is the fundamental time unit of a piece of music; for instance, each tick of a metronome. Beats are usually multiples of tatums.
sections: Vec<Section>Sections are defined by significant changes in rhythm or timbre, such as the chorus, verse, bridge, guitar solo, etc.
Each section has its own descriptions of tempo, key, mode, time signature, and loudness.
segments: Vec<Segment>Each segment contains a relatively consistent sound throughout its duration.
tatums: Vec<Tatum>A tatum represents the smallest regular pulse that a listener naturally infers from the timing of perceived musical events (segments).
Trait Implementations§
Source§impl Clone for AudioAnalysis
impl Clone for AudioAnalysis
Source§fn clone(&self) -> AudioAnalysis
fn clone(&self) -> AudioAnalysis
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AudioAnalysis
impl Debug for AudioAnalysis
Source§impl<'de> Deserialize<'de> for AudioAnalysis
impl<'de> Deserialize<'de> for AudioAnalysis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for AudioAnalysis
impl PartialEq for AudioAnalysis
Source§fn eq(&self, other: &AudioAnalysis) -> bool
fn eq(&self, other: &AudioAnalysis) -> bool
self and other values to be equal, and is used by ==.