pub struct ModReverbProcessor { /* private fields */ }
Expand description
Implements the reverb described by Geraint Luff on:
- “Let’s write a Reverb - ADC21 - https://www.youtube.com/watch?v=6ZK2Goiyotk”
This is a reverb based on a multi-channel diffuser and delay.
A low-pass filter is added at the end of the signal, delay times are modulated.
Trait Implementations§
Source§impl AudioProcessor for ModReverbProcessor
impl AudioProcessor for ModReverbProcessor
type SampleType = f32
Source§fn prepare(&mut self, context: &mut AudioContext)
fn prepare(&mut self, context: &mut AudioContext)
Prepare for playback based on current audio settings
Source§fn process(
&mut self,
context: &mut AudioContext,
data: &mut AudioBuffer<Self::SampleType>,
)
fn process( &mut self, context: &mut AudioContext, data: &mut AudioBuffer<Self::SampleType>, )
Process a block of samples by mutating the input
AudioBuffer
Auto Trait Implementations§
impl Freeze for ModReverbProcessor
impl RefUnwindSafe for ModReverbProcessor
impl Send for ModReverbProcessor
impl Sync for ModReverbProcessor
impl Unpin for ModReverbProcessor
impl UnwindSafe for ModReverbProcessor
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§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 moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.