Enum oxcable_basic_devices::adsr::Message
[−]
[src]
pub enum Message { NoteDown, NoteUp, SetAttack(f32), SetDecay(f32), SetSustain(f32), SetRelease(f32), }
Defines the messages that the ADSR supports.
Variants
NoteDown | Triggers an attack. |
NoteUp | Triggers a release. |
SetAttack | Sets the attack time, in seconds. |
SetDecay | Sets the decay time, in seconds. |
SetSustain | Sets the sustain amplitude. |
SetRelease | Sets the relase time, in seconds. |