Struct autd3_modulation_audio_file::RawPCM
source · pub struct RawPCM { /* private fields */ }
Implementations§
source§impl RawPCM
impl RawPCM
pub fn with_sampling_frequency_division(self, freq_div: u32) -> Self
pub fn with_sampling_frequency(self, freq: f64) -> Self
Trait Implementations§
source§impl<T: Transducer> Datagram<T> for RawPCM
impl<T: Transducer> Datagram<T> for RawPCM
source§impl ModulationProperty for RawPCM
impl ModulationProperty for RawPCM
fn sampling_frequency_division(&self) -> u32
fn sampling_frequency(&self) -> f64
Auto Trait Implementations§
impl RefUnwindSafe for RawPCM
impl Send for RawPCM
impl Sync for RawPCM
impl Unpin for RawPCM
impl UnwindSafe for RawPCM
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
source§impl<M> Cache<M> for Mwhere
M: Modulation,
impl<M> Cache<M> for Mwhere M: Modulation,
fn with_cache(self) -> Result<CacheImpl, AUTDInternalError>
source§impl<T, D> DatagramT<T, D> for Dwhere
T: Transducer,
D: Datagram<T>,
impl<T, D> DatagramT<T, D> for Dwhere T: Transducer, D: Datagram<T>,
fn with_timeout(self, timeout: Duration) -> DatagramWithTimeout<T, D>
source§impl<M> FIR<M> for Mwhere
M: Modulation,
impl<M> FIR<M> for Mwhere M: Modulation,
fn with_low_pass(self, n_taps: usize, cutoff: f64) -> FIRImpl<M>
fn with_high_pass(self, n_taps: usize, cutoff: f64) -> FIRImpl<M>
fn with_band_pass(self, n_taps: usize, f_low: f64, f_high: f64) -> FIRImpl<M>
fn with_band_stop(self, n_taps: usize, f_low: f64, f_high: f64) -> FIRImpl<M>
fn with_resampler( self, n_taps: usize, decimate: usize, interpolate: usize ) -> FIRImpl<M>
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.