Enum nih_plug::midi::MidiConfig
source · pub enum MidiConfig {
None,
Basic,
MidiCCs,
}
Expand description
Determines which note events a plugin receives.
Variants§
None
The plugin will not have a note input port and will thus not receive any not events.
Basic
The plugin receives note on/off/choke events, pressure, and potentially a couple
standardized expression types depending on the plugin standard and host. If the plugin sets
up configuration for polyphonic modulation (see ClapPlugin
)
and assigns polyphonic modulation IDs to some of its parameters, then it will also receive
polyphonic modulation events.
MidiCCs
The plugin receives full MIDI CCs as well as pitch bend information. For VST3 plugins this involves adding 130*16 parameters to bind to the the 128 MIDI CCs, pitch bend, and channel pressure.
Trait Implementations§
source§impl Clone for MidiConfig
impl Clone for MidiConfig
source§fn clone(&self) -> MidiConfig
fn clone(&self) -> MidiConfig
Returns a copy of the value. Read more
1.0.0 · 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 MidiConfig
impl Debug for MidiConfig
source§impl Ord for MidiConfig
impl Ord for MidiConfig
source§fn cmp(&self, other: &MidiConfig) -> Ordering
fn cmp(&self, other: &MidiConfig) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<MidiConfig> for MidiConfig
impl PartialEq<MidiConfig> for MidiConfig
source§fn eq(&self, other: &MidiConfig) -> bool
fn eq(&self, other: &MidiConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MidiConfig> for MidiConfig
impl PartialOrd<MidiConfig> for MidiConfig
source§fn partial_cmp(&self, other: &MidiConfig) -> Option<Ordering>
fn partial_cmp(&self, other: &MidiConfig) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MidiConfig
impl Eq for MidiConfig
impl StructuralEq for MidiConfig
impl StructuralPartialEq for MidiConfig
Auto Trait Implementations§
impl RefUnwindSafe for MidiConfig
impl Send for MidiConfig
impl Sync for MidiConfig
impl Unpin for MidiConfig
impl UnwindSafe for MidiConfig
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