pub struct AudioEnvelope {
pub samples: Vec<f32>,
pub sample_rate: u32,
pub duration: f32,
}Expand description
Audio energy envelope for waveform analysis.
Represents the amplitude envelope of an audio signal over time, used for dialogue detection and synchronization analysis.
Fields§
§samples: Vec<f32>Amplitude samples of the audio envelope
sample_rate: u32Sample rate of the envelope data
duration: f32Total duration of the audio in seconds
Trait Implementations§
Source§impl Clone for AudioEnvelope
impl Clone for AudioEnvelope
Source§fn clone(&self) -> AudioEnvelope
fn clone(&self) -> AudioEnvelope
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 AudioEnvelope
impl RefUnwindSafe for AudioEnvelope
impl Send for AudioEnvelope
impl Sync for AudioEnvelope
impl Unpin for AudioEnvelope
impl UnwindSafe for AudioEnvelope
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