Trait rsynth::envelope::Envelope [−][src]
This was never really worked out and should best be improved in a separate crate.
Defines the behaviour of an envelope. An envelope allows to get an iterator. The returned iterator allows to iterator over the frames, starting from the current position, and for each frame, returns the envelope value at that frame.
Associated Types
type Iter: Iterator<Item = EnvelopeIteratorItem<T>>
[src]
This was never really worked out and should best be improved in a separate crate.
The type of the iterator.
type EventType
[src]
This was never really worked out and should best be improved in a separate crate.
Required methods
fn iter(&'a self) -> Self::Iter
[src]
This was never really worked out and should best be improved in a separate crate.
Get the iterator.
fn insert_event(&mut self, event: Self::EventType)
[src]
This was never really worked out and should best be improved in a separate crate.
fn forget_past(&mut self, number_of_frames_to_forget: u32)
[src]
This was never really worked out and should best be improved in a separate crate.
Implementors
impl<'a, T> Envelope<'a, T> for StairCaseEnvelope<T> where
T: Copy + 'a,
[src]
T: Copy + 'a,
type Iter = StairCaseEnvelopeIterator<'a, T>
This was never really worked out and should best be improved in a separate crate.
type EventType = Timed<T>
This was never really worked out and should best be improved in a separate crate.