|
void | openPort (int index) |
| open the port with the given index More...
|
|
void | openPort (std::string name) |
| open the port with the given name More...
|
|
void | openVirtualPort (std::string name) |
| create a virtual input port with the given name More...
|
|
void | closePort () |
| close the opened port
|
|
void | listPorts () |
| list the available ports
|
|
int | getPortCount () |
| return number of available midi in ports
|
|
std::vector< std::string > | getPortList () |
| return list of available ports name
|
|
void | linkToMidiIn (ofxMidiIn &midiInput) |
| uses an already open ofxMidiIn instead of opening a port More...
|
|
|
void | prepareToPlay (int expectedBufferSize, double sampleRate) override |
|
void | releaseResources () override |
|
|
static double | getGlobalSampleRate () |
|
◆ linkToMidiIn()
void pdsp::midi::Input::linkToMidiIn |
( |
ofxMidiIn & |
midiInput | ) |
|
uses an already open ofxMidiIn instead of opening a port
- Parameters
-
[in] | midiInput | ofxMidiIn object |
◆ openPort() [1/2]
void pdsp::midi::Input::openPort |
( |
int |
index | ) |
|
open the port with the given index
- Parameters
-
[in] | index | of the port to open |
◆ openPort() [2/2]
void pdsp::midi::Input::openPort |
( |
std::string |
name | ) |
|
open the port with the given name
- Parameters
-
[in] | name | of the port to open |
◆ openVirtualPort()
void pdsp::midi::Input::openVirtualPort |
( |
std::string |
name | ) |
|
create a virtual input port with the given name
- Parameters
-
[in] | name | of the port to crate |
The documentation for this class was generated from the following files: