Allolib
1.0
C++ Components For Interactive Multimedia
|
The SequencerMIDI class connects PolySynth objects to MIDI messages. More...
Public Member Functions | |
SequencerMIDI (int deviceIndex) | |
SequencerMIDI (int deviceIndex, PolySynth &synth) | |
void | open (int deviceIndex, PolySynth &synth) |
void | open (int deviceIndex) |
void | close () |
bool | isOpen () |
void | setSynthSequencer (PolySynth &synth) |
void | connectNoteOnToFunction (std::function< void(int, int, int)> function) |
void | connectNoteOffToFunction (std::function< void(int, int, int)> function) |
virtual void | onMIDIMessage (const MIDIMessage &m) override |
Called when a MIDI message is received. | |
void | bindTo (RtMidiIn &RtMidiIn, unsigned port=0) |
Bind handler to a MIDI input. | |
void | clearBindings () |
Protected Attributes | |
std::vector< Binding > | mBindings |
The SequencerMIDI class connects PolySynth objects to MIDI messages.
Definition at line 79 of file al_SequencerMIDI.hpp.