pub enum PulseEffect {
Delay(PulseDelay),
Reverb(PulseReverb),
Filter(PulseFilter),
Compressor(PulseCompressor),
Limiter(PulseLimiter),
Chorus(PulseChorus),
Phaser(PulsePhaser),
Eq(PulseEq),
}Expand description
One effect instance ready to apply to a track or master bus.
Variants§
Delay(PulseDelay)
Delay.
Reverb(PulseReverb)
Reverb.
Filter(PulseFilter)
Filter. This is track-only.
Compressor(PulseCompressor)
Compressor.
Limiter(PulseLimiter)
Limiter.
Chorus(PulseChorus)
Chorus.
Phaser(PulsePhaser)
Phaser.
Eq(PulseEq)
Three-band EQ.
Implementations§
Source§impl PulseEffect
impl PulseEffect
Sourcepub fn allowed_on_master(&self) -> bool
pub fn allowed_on_master(&self) -> bool
Returns whether this effect can be applied to the master bus.
Sourcepub fn apply_to_track_builder<'a>(
&self,
builder: TrackBuilder<'a>,
) -> TrackBuilder<'a>
pub fn apply_to_track_builder<'a>( &self, builder: TrackBuilder<'a>, ) -> TrackBuilder<'a>
Applies this effect to a tunes track builder.
Sourcepub fn apply_to_master(&self, mixer: &mut Mixer) -> PulseResult<()>
pub fn apply_to_master(&self, mixer: &mut Mixer) -> PulseResult<()>
Applies this effect to a tunes mixer master bus.
§Errors
Returns an invalid-scope error when called for a track-only effect.
Trait Implementations§
Source§impl Clone for PulseEffect
impl Clone for PulseEffect
Source§fn clone(&self) -> PulseEffect
fn clone(&self) -> PulseEffect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PulseEffect
impl Debug for PulseEffect
Source§impl PartialEq for PulseEffect
impl PartialEq for PulseEffect
Source§fn eq(&self, other: &PulseEffect) -> bool
fn eq(&self, other: &PulseEffect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PulseEffect
Auto Trait Implementations§
impl Freeze for PulseEffect
impl RefUnwindSafe for PulseEffect
impl Send for PulseEffect
impl Sync for PulseEffect
impl Unpin for PulseEffect
impl UnsafeUnpin for PulseEffect
impl UnwindSafe for PulseEffect
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
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>
Converts
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>
Converts
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 more