pub struct AudioAnalysis {
pub name: String,
pub avg_volume_db: f32,
pub clippings: usize,
pub clipping_ratio: f32,
pub analysis: Vec<f32>,
}Expand description
Volume metrics, clipping information, and FFT analysis data.
Fields§
§name: StringName or identifier for this analysis.
avg_volume_db: f32Average volume in decibels.
clippings: usizeNumber of clipping occurrences.
clipping_ratio: f32Ratio of clipping in the signal.
analysis: Vec<f32>FFT analysis data as a vector of floats.
Trait Implementations§
Source§impl Clone for AudioAnalysis
impl Clone for AudioAnalysis
Source§fn clone(&self) -> AudioAnalysis
fn clone(&self) -> AudioAnalysis
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 moreAuto Trait Implementations§
impl Freeze for AudioAnalysis
impl RefUnwindSafe for AudioAnalysis
impl Send for AudioAnalysis
impl Sync for AudioAnalysis
impl Unpin for AudioAnalysis
impl UnwindSafe for AudioAnalysis
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