#[repr(C)]pub struct ReverbProperties {
pub decay_time: c_float,
pub early_delay: c_float,
pub late_delay: c_float,
pub hf_reference: c_float,
pub hf_decay_ratio: c_float,
pub diffusion: c_float,
pub density: c_float,
pub low_shelf_frequency: c_float,
pub low_shelf_gain: c_float,
pub high_cut: c_float,
pub early_late_mix: c_float,
pub wet_level: c_float,
}
Expand description
Structure defining a reverb environment.
Fields§
§decay_time: c_float
Reverberation decay time.
early_delay: c_float
Initial reflection delay time.
late_delay: c_float
Late reverberation delay time relative to initial reflection.
hf_reference: c_float
Reference high frequency.
hf_decay_ratio: c_float
High-frequency to mid-frequency decay time ratio.
diffusion: c_float
Value that controls the echo density in the late reverberation decay.
density: c_float
Value that controls the modal density in the late reverberation decay.
low_shelf_frequency: c_float
Reference low frequency
low_shelf_gain: c_float
Relative room effect level at low frequencies.
high_cut: c_float
Relative room effect level at high frequencies.
early_late_mix: c_float
Early reflections level relative to room effect.
wet_level: c_float
Room effect level at mid frequencies.
Implementations§
Source§impl ReverbProperties
Predefined reverb configurations. To simplify usage, and avoid manually selecting reverb parameters, a table of common presets is supplied for ease of use.
impl ReverbProperties
Predefined reverb configurations. To simplify usage, and avoid manually selecting reverb parameters, a table of common presets is supplied for ease of use.
Sourcepub const PADDEDCELL: Self
pub const PADDEDCELL: Self
Padded cell
Sourcepub const LIVINGROOM: Self
pub const LIVINGROOM: Self
Living room
Sourcepub const AUDITORIUM: Self
pub const AUDITORIUM: Self
Auditorium
Sourcepub const CONCERTHALL: Self
pub const CONCERTHALL: Self
Concert hall
Sourcepub const CARPETTEDHALLWAY: Self
pub const CARPETTEDHALLWAY: Self
Carpetted hallway
Sourcepub const STONECORRIDOR: Self
pub const STONECORRIDOR: Self
Stone corridor
Sourcepub const PARKINGLOT: Self
pub const PARKINGLOT: Self
Parking lot
Sourcepub const UNDERWATER: Self
pub const UNDERWATER: Self
Underwater
Trait Implementations§
Source§impl Clone for ReverbProperties
impl Clone for ReverbProperties
Source§fn clone(&self) -> ReverbProperties
fn clone(&self) -> ReverbProperties
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more