pub struct MfccFrame {
pub coefficients: Vec<f32>,
}Expand description
A single frame of MFCC coefficients.
§Examples
use resonant_analysis::mfcc::MfccFrame;
let frame = MfccFrame { coefficients: vec![1.0, 0.5, -0.3] };
assert_eq!(frame.coefficients.len(), 3);Fields§
§coefficients: Vec<f32>The MFCC coefficients for this frame.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MfccFrame
impl<'de> Deserialize<'de> for MfccFrame
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for MfccFrame
Auto Trait Implementations§
impl Freeze for MfccFrame
impl RefUnwindSafe for MfccFrame
impl Send for MfccFrame
impl Sync for MfccFrame
impl Unpin for MfccFrame
impl UnsafeUnpin for MfccFrame
impl UnwindSafe for MfccFrame
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