#[non_exhaustive]pub struct ReverbBuilder {
pub feedback: Value<f64>,
pub damping: Value<f64>,
pub stereo_width: Value<f64>,
pub mix: Value<f64>,
}
Expand description
Configures a reverb effect.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.feedback: Value<f64>
How much the room reverberates. A higher value will result in a bigger sounding room. 1.0 gives an infinitely reverberating room.
damping: Value<f64>
How quickly high frequencies disappear from the reverberation.
stereo_width: Value<f64>
The stereo width of the reverb effect (0.0 being fully mono, 1.0 being fully stereo).
mix: Value<f64>
How much dry (unprocessed) signal should be blended
with the wet (processed) signal. 0.0
means
only the dry signal will be heard. 1.0
means
only the wet signal will be heard.
Implementations§
Source§impl ReverbBuilder
impl ReverbBuilder
Sourcepub fn new() -> ReverbBuilder
pub fn new() -> ReverbBuilder
Creates a new ReverbBuilder
with the default settings.
Sourcepub fn feedback(self, feedback: impl Into<Value<f64>>) -> ReverbBuilder
pub fn feedback(self, feedback: impl Into<Value<f64>>) -> ReverbBuilder
Sets how much the room reverberates. A higher value will result in a bigger sounding room. 1.0 gives an infinitely reverberating room.
Sourcepub fn damping(self, damping: impl Into<Value<f64>>) -> ReverbBuilder
pub fn damping(self, damping: impl Into<Value<f64>>) -> ReverbBuilder
Sets how quickly high frequencies disappear from the reverberation.
Sourcepub fn stereo_width(self, stereo_width: impl Into<Value<f64>>) -> ReverbBuilder
pub fn stereo_width(self, stereo_width: impl Into<Value<f64>>) -> ReverbBuilder
Sets the stereo width of the reverb effect (0.0 being fully mono, 1.0 being fully stereo).
Trait Implementations§
Source§impl Clone for ReverbBuilder
impl Clone for ReverbBuilder
Source§fn clone(&self) -> ReverbBuilder
fn clone(&self) -> ReverbBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ReverbBuilder
impl Debug for ReverbBuilder
Source§impl Default for ReverbBuilder
impl Default for ReverbBuilder
Source§fn default() -> ReverbBuilder
fn default() -> ReverbBuilder
Source§impl EffectBuilder for ReverbBuilder
impl EffectBuilder for ReverbBuilder
Source§type Handle = ReverbHandle
type Handle = ReverbHandle
Source§fn build(self) -> (Box<dyn Effect>, <ReverbBuilder as EffectBuilder>::Handle)
fn build(self) -> (Box<dyn Effect>, <ReverbBuilder as EffectBuilder>::Handle)
Source§impl PartialEq for ReverbBuilder
impl PartialEq for ReverbBuilder
impl Copy for ReverbBuilder
impl StructuralPartialEq for ReverbBuilder
Auto Trait Implementations§
impl Freeze for ReverbBuilder
impl RefUnwindSafe for ReverbBuilder
impl Send for ReverbBuilder
impl Sync for ReverbBuilder
impl Unpin for ReverbBuilder
impl UnwindSafe for ReverbBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian()
.