libgig 4.4.1
|
MIDI rule to automatically cycle through specified sequences of different articulations. More...
#include <gig.h>
Public Types | |
enum | selector_t { selector_none , selector_key_switch , selector_controller } |
Public Attributes | |
uint8_t | Articulations |
Number of articulations in the instrument. More... | |
String | pArticulations [32] |
Names of the articulations. More... | |
range_t | PlayRange |
Key range of the playable keys in the instrument. More... | |
uint8_t | Patterns |
Number of alternator patterns. More... | |
struct gig::MidiRuleAlternator::pattern_t | pPatterns [32] |
A pattern is a sequence of articulation numbers. | |
selector_t | Selector |
Method by which pattern is chosen. More... | |
range_t | KeySwitchRange |
Key range for key switch selector. More... | |
uint8_t | Controller |
CC number for controller selector. More... | |
bool | Polyphonic |
If alternator should step forward only when all notes are off. More... | |
bool | Chained |
If all patterns should be chained together. More... | |
Protected Member Functions | |
MidiRuleAlternator (RIFF::Chunk *_3ewg) | |
void | UpdateChunks (uint8_t *pData) const |
MIDI rule to automatically cycle through specified sequences of different articulations.
The instrument must be using the smartmidi dimension.
Note: "Alternator" MIDI rules are neither supported by gigedit nor by LinuxSampler. We recommend you using real-time instrument scripts instead. Read more about the details and reasons for this in the description of the MidiRule base class.
|
protected |
|
protectedvirtual |
Implements gig::MidiRule.
uint8_t gig::MidiRuleAlternator::Articulations |
bool gig::MidiRuleAlternator::Chained |
uint8_t gig::MidiRuleAlternator::Controller |
range_t gig::MidiRuleAlternator::KeySwitchRange |
String gig::MidiRuleAlternator::pArticulations[32] |
uint8_t gig::MidiRuleAlternator::Patterns |
range_t gig::MidiRuleAlternator::PlayRange |
bool gig::MidiRuleAlternator::Polyphonic |
selector_t gig::MidiRuleAlternator::Selector |