pub enum RetriggerMode {
AllowRetrigger,
NoRetrigger,
}Expand description
Retrigger mode is represented here
Retriggering means that if the user plays a new MIDI note before releasing the last one, a new rising gate will be triggered.
When retriggering is disabled this is sometimes called “legato” mode, as overlapping notes blend together.
Classic instruments have used both variations. The MiniMoog does not allow retriggering, while the Arp Odyssey does.
Variants§
Trait Implementations§
source§impl PartialEq<RetriggerMode> for RetriggerMode
impl PartialEq<RetriggerMode> for RetriggerMode
source§fn eq(&self, other: &RetriggerMode) -> bool
fn eq(&self, other: &RetriggerMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RetriggerMode
impl StructuralEq for RetriggerMode
impl StructuralPartialEq for RetriggerMode
Auto Trait Implementations§
impl RefUnwindSafe for RetriggerMode
impl Send for RetriggerMode
impl Sync for RetriggerMode
impl Unpin for RetriggerMode
impl UnwindSafe for RetriggerMode
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