Struct Reverb Config
pub struct ReverbConfig {
pub sample_rate: f64,
pub room_scale: f64,
pub decay_seconds: f64,
pub damping_hz: f64,
pub wet: f64,
}Expand description
Fixed one-channel Schroeder-style network preparation. The four comb delays are 31/37/41/43 ms and two canonical allpass delays 5/1.3 ms, multiplied by room_scale and rounded to samples. This is a synthetic effect, not a physical room model. Decay specifies each comb’s nominal DC -60 dB feedback decay; damping and mixing change the complete network’s measured decay.
Fields§
§sample_rate: f64Finite rate 8000..=192000 Hz.
room_scale: f64Finite delay multiplier 0.5..=2.
decay_seconds: f64Finite nominal comb decay 0.1..=20 seconds.
damping_hz: f64Finite feedback lowpass pole frequency >=20 Hz and strictly below Nyquist.
wet: f64Finite linear crossfade 0..=1 (zero dry, one wet).
Trait Implementations§
§impl Clone for ReverbConfig
impl Clone for ReverbConfig
§fn clone(&self) -> ReverbConfig
fn clone(&self) -> ReverbConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReverbConfig
§impl Debug for ReverbConfig
impl Debug for ReverbConfig
§impl Default for ReverbConfig
impl Default for ReverbConfig
§impl PartialEq for ReverbConfig
impl PartialEq for ReverbConfig
impl StructuralPartialEq for ReverbConfig
Auto Trait Implementations§
impl Freeze for ReverbConfig
impl RefUnwindSafe for ReverbConfig
impl Send for ReverbConfig
impl Sync for ReverbConfig
impl Unpin for ReverbConfig
impl UnsafeUnpin for ReverbConfig
impl UnwindSafe for ReverbConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more