VCV Rack API v2
|
Converts gates and CV to MIDI messages. More...
#include <midi.hpp>
Public Member Functions | |
MidiGenerator () | |
void | reset () |
void | panic () |
void | setVelocity (int8_t vel, int c) |
Must be called before setNoteGate(). | |
void | setNoteGate (int8_t note, bool gate, int c) |
void | setKeyPressure (int8_t val, int c) |
void | setChannelPressure (int8_t val) |
void | setCc (int8_t cc, int id) |
void | setModWheel (int8_t cc) |
void | setVolume (int8_t cc) |
void | setBalance (int8_t cc) |
void | setPan (int8_t cc) |
void | setSustainPedal (int8_t cc) |
void | setPitchWheel (int16_t pw) |
void | setClock (bool clk) |
void | setStart (bool start) |
void | setContinue (bool cont) |
void | setStop (bool stop) |
void | setFrame (int64_t frame) |
virtual void | onMessage (const midi::Message &message) |
Public Attributes | |
int8_t | vels [CHANNELS] |
int8_t | notes [CHANNELS] |
bool | gates [CHANNELS] |
int8_t | keyPressures [CHANNELS] |
int8_t | channelPressure |
int8_t | ccs [128] |
int16_t | pw |
bool | clk |
bool | start |
bool | stop |
bool | cont |
int64_t | frame = -1 |
Converts gates and CV to MIDI messages.
CHANNELS is the number of polyphony channels. Use 1 for monophonic.
|
inline |
|
inline |
|
inline |
|
inline |
Must be called before setNoteGate().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
int8_t rack::dsp::MidiGenerator< CHANNELS >::vels[CHANNELS] |
int8_t rack::dsp::MidiGenerator< CHANNELS >::notes[CHANNELS] |
bool rack::dsp::MidiGenerator< CHANNELS >::gates[CHANNELS] |
int8_t rack::dsp::MidiGenerator< CHANNELS >::keyPressures[CHANNELS] |
int8_t rack::dsp::MidiGenerator< CHANNELS >::channelPressure |
int8_t rack::dsp::MidiGenerator< CHANNELS >::ccs[128] |
int16_t rack::dsp::MidiGenerator< CHANNELS >::pw |
bool rack::dsp::MidiGenerator< CHANNELS >::clk |
bool rack::dsp::MidiGenerator< CHANNELS >::start |
bool rack::dsp::MidiGenerator< CHANNELS >::stop |
bool rack::dsp::MidiGenerator< CHANNELS >::cont |
int64_t rack::dsp::MidiGenerator< CHANNELS >::frame = -1 |