pub struct BandAnalysis {
pub sub_bass: f32,
pub bass: f32,
pub mids: f32,
pub highs: f32,
pub rms: f32,
pub spectral_centroid: f32,
pub beat: bool,
}Expand description
Band analysis result — all values normalized to [0, 1].
Fields§
§sub_bass: f32§bass: f32§mids: f32§highs: f32§rms: f32§spectral_centroid: f32§beat: boolWhether an onset (beat) was detected this frame
Trait Implementations§
Source§impl Clone for BandAnalysis
impl Clone for BandAnalysis
Source§fn clone(&self) -> BandAnalysis
fn clone(&self) -> BandAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BandAnalysis
impl Debug for BandAnalysis
Source§impl Default for BandAnalysis
impl Default for BandAnalysis
Source§fn default() -> BandAnalysis
fn default() -> BandAnalysis
Returns the “default value” for a type. Read more
impl Copy for BandAnalysis
Auto Trait Implementations§
impl Freeze for BandAnalysis
impl RefUnwindSafe for BandAnalysis
impl Send for BandAnalysis
impl Sync for BandAnalysis
impl Unpin for BandAnalysis
impl UnsafeUnpin for BandAnalysis
impl UnwindSafe for BandAnalysis
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