|
void | openPort (int index) |
| open the port with the given index More...
|
|
void | close () override |
| close the opened port
|
|
void | listPorts () |
| list the available ports
|
|
void | linkToMidiOut (ofxMidiOut &midiOut) |
| uses an already open ofxMidiOut instead of opening a port More...
|
|
bool | isConnected () |
| return true if the port has been sucessfully opened
|
|
void | setVerbose (bool verbose) |
| enable or disable diagnostic messages More...
|
|
pdsp::ExtSequencer & | gate (int midiChannel, int defaultNote=60) |
| patch a pdsp::ScoreSection::out_message() method to the result of this method for sending midi note message out More...
|
|
pdsp::ExtSequencer & | note () |
| patch a pdsp::ScoreSection::out_message() method to the result of this method for controlling the midi note message out. More...
|
|
pdsp::ExtSequencer & | cc (int midiChannel, int ccNumber) |
| patch a pdsp::ScoreSection::out_message() method to the result of this method for sending midi cc message out More...
|
|
|
void | prepareToPlay (int expectedBufferSize, double sampleRate) override |
|
void | releaseResources () override |
|
|
static double | getGlobalSampleRate () |
|
◆ cc()
pdsp::ExtSequencer & pdsp::midi::Output::cc |
( |
int |
midiChannel, |
|
|
int |
ccNumber |
|
) |
| |
patch a pdsp::ScoreSection::out_message() method to the result of this method for sending midi cc message out
See the example-midi_seq for a practical example.
◆ gate()
pdsp::ExtSequencer & pdsp::midi::Output::gate |
( |
int |
midiChannel, |
|
|
int |
defaultNote = 60 |
|
) |
| |
patch a pdsp::ScoreSection::out_message() method to the result of this method for sending midi note message out
see the example-midi_seq for a practical example
◆ linkToMidiOut()
void pdsp::midi::Output::linkToMidiOut |
( |
ofxMidiOut & |
midiOut | ) |
|
uses an already open ofxMidiOut instead of opening a port
- Parameters
-
[in] | midiOut | ofxMidiOut object |
◆ note()
pdsp::ExtSequencer & pdsp::midi::Output::note |
( |
| ) |
|
patch a pdsp::ScoreSection::out_message() method to the result of this method for controlling the midi note message out.
Patch a pdsp::ScoreSection::out_message() method to the result of this method for controlling the midi note message out. The output controlled is the one of the last gate() call. See the example-midi_seq for a practical example.
◆ openPort()
void pdsp::midi::Output::openPort |
( |
int |
index | ) |
|
open the port with the given index
- Parameters
-
[in] | index | of the port to open |
◆ setVerbose()
void pdsp::midi::Output::setVerbose |
( |
bool |
verbose | ) |
|
enable or disable diagnostic messages
- Parameters
-
[in] | verbose | true for enabling, false for disabling |
The documentation for this class was generated from the following files: