[][src]Struct oscen::envelopes::Adsr

pub struct Adsr { /* fields omitted */ }

Implementations

impl Adsr[src]

pub fn new(a_param: Real, d_param: Real, r_param: Real) -> Self[src]

pub fn linear() -> Self[src]

pub fn exp_20() -> Self[src]

pub fn attack<T: Into<In>>(&mut self, arg: T) -> &mut Self[src]

pub fn decay<T: Into<In>>(&mut self, arg: T) -> &mut Self[src]

pub fn sustain<T: Into<In>>(&mut self, arg: T) -> &mut Self[src]

pub fn release<T: Into<In>>(&mut self, arg: T) -> &mut Self[src]

pub fn calc_level(&mut self, rack: &Rack) -> Real[src]

pub fn on(&mut self)[src]

pub fn off(&mut self)[src]

Trait Implementations

impl Builder for Adsr[src]

impl Clone for Adsr[src]

impl Copy for Adsr[src]

impl Gate for Adsr[src]

impl<'_> Index<&'_ str> for Adsr[src]

type Output = In

The returned type after indexing.

impl<'_> IndexMut<&'_ str> for Adsr[src]

impl Signal for Adsr[src]

Auto Trait Implementations

impl RefUnwindSafe for Adsr

impl Send for Adsr

impl Sync for Adsr

impl Unpin for Adsr

impl UnwindSafe for Adsr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,