libgig
3.3.0.svn4
|
MIDI rule to automatically cycle through specified sequences of different articulations. More...
#include <gig.h>
Classes | |
struct | pattern_t |
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. More... | |
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) | |
MidiRuleAlternator () | |
void | UpdateChunks (uint8_t *pData) const |
Friends | |
class | Instrument |
MIDI rule to automatically cycle through specified sequences of different articulations.
The instrument must be using the smartmidi dimension.
|
protected |
Definition at line 3091 of file gig.cpp.
References Articulations, Chained, Controller, gig::range_t::high, KeySwitchRange, gig::range_t::low, pArticulations, Patterns, PlayRange, Polyphonic, pPatterns, RIFF::Chunk::Read(), RIFF::Chunk::ReadString(), RIFF::Chunk::ReadUint8(), Selector, selector_controller, selector_key_switch, selector_none, RIFF::Chunk::SetPos(), and gig::MidiRuleAlternator::pattern_t::Size.
|
protected |
Definition at line 3123 of file gig.cpp.
References gig::range_t::high, KeySwitchRange, gig::range_t::low, and PlayRange.
|
protectedvirtual |
Implements gig::MidiRule.
Definition at line 3135 of file gig.cpp.
References Articulations, Chained, Controller, gig::range_t::high, KeySwitchRange, gig::range_t::low, pArticulations, Patterns, PlayRange, Polyphonic, pPatterns, Selector, selector_controller, selector_key_switch, and gig::MidiRuleAlternator::pattern_t::Size.
|
friend |
uint8_t gig::MidiRuleAlternator::Articulations |
Number of articulations in the instrument.
Definition at line 697 of file gig.h.
Referenced by MidiRuleAlternator(), and UpdateChunks().
bool gig::MidiRuleAlternator::Chained |
If all patterns should be chained together.
Definition at line 726 of file gig.h.
Referenced by MidiRuleAlternator(), and UpdateChunks().
uint8_t gig::MidiRuleAlternator::Controller |
CC number for controller selector.
Definition at line 723 of file gig.h.
Referenced by MidiRuleAlternator(), and UpdateChunks().
range_t gig::MidiRuleAlternator::KeySwitchRange |
Key range for key switch selector.
Definition at line 722 of file gig.h.
Referenced by MidiRuleAlternator(), and UpdateChunks().
String gig::MidiRuleAlternator::pArticulations[32] |
Names of the articulations.
Definition at line 698 of file gig.h.
Referenced by MidiRuleAlternator(), and UpdateChunks().
uint8_t gig::MidiRuleAlternator::Patterns |
Number of alternator patterns.
Definition at line 702 of file gig.h.
Referenced by MidiRuleAlternator(), and UpdateChunks().
range_t gig::MidiRuleAlternator::PlayRange |
Key range of the playable keys in the instrument.
Definition at line 700 of file gig.h.
Referenced by MidiRuleAlternator(), and UpdateChunks().
bool gig::MidiRuleAlternator::Polyphonic |
If alternator should step forward only when all notes are off.
Definition at line 725 of file gig.h.
Referenced by MidiRuleAlternator(), and UpdateChunks().
struct gig::MidiRuleAlternator::pattern_t gig::MidiRuleAlternator::pPatterns[32] |
A pattern is a sequence of articulation numbers.
Referenced by MidiRuleAlternator(), and UpdateChunks().
selector_t gig::MidiRuleAlternator::Selector |
Method by which pattern is chosen.
Definition at line 721 of file gig.h.
Referenced by MidiRuleAlternator(), and UpdateChunks().