Vuo
0.4.6
|
VuoMIDI implementation.
Classes | |
struct | VuoMIDIIn_internal |
Private data for a VuoMIDIIn instance. More... | |
Functions | |
VuoList_VuoMIDIDevice | VuoMIDI_getInputDevices (void) |
Returns a list of the available MIDI input devices. | |
VuoList_VuoMIDIDevice | VuoMIDI_getOutputDevices (void) |
Returns a list of the available MIDI output devices. | |
VuoMIDIOut | VuoMIDIOut_make (VuoMIDIDevice md) |
Creates a manager for sending messages to a MIDI device. | |
void | VuoMIDIOut_sendNote (VuoMIDIOut mo, VuoMIDINote note) |
Outputs the specified note event through the specified MIDI output device mo . | |
void | VuoMIDIOut_sendController (VuoMIDIOut mo, VuoMIDIController controller) |
Outputs the specified controller event through the specified MIDI output device mo . | |
void | VuoMIDIOut_destroy (VuoMIDIOut mo) |
Destroys a MIDI output device manager. | |
void | VuoMIDIIn_receivedEvent (double timeStamp, std::vector< unsigned char > *message, void *userData) |
RtMidi calls this function ("on a separate high-priority thread owned by CoreMIDI") every time it receives a MIDI event. | |
VuoMIDIIn | VuoMIDIIn_make (VuoMIDIDevice md) |
Creates a manager for receiving messages from a MIDI device. | |
void | VuoMIDIIn_enableTriggers (VuoMIDIIn mi, VuoOutputTrigger(receivedNote, VuoMIDINote), VuoOutputTrigger(receivedController, VuoMIDIController)) |
Sets up the MIDI input device to call the trigger functions when it receives an event. | |
void | VuoMIDIIn_disableTriggers (VuoMIDIIn mi) |
Stops the MIDI input device from calling trigger functions when it receives an event. | |
void | VuoMIDIIn_destroy (VuoMIDIIn mi) |
Destroys a MIDI input device manager. | |
void VuoMIDIIn_disableTriggers | ( | VuoMIDIIn | mi | ) |
Stops the MIDI input device from calling trigger functions when it receives an event.
Can be called from any thread.
void VuoMIDIIn_enableTriggers | ( | VuoMIDIIn | mi, |
VuoOutputTrigger(receivedNote, VuoMIDINote) | , | ||
VuoOutputTrigger(receivedController, VuoMIDIController) | |||
) |
Sets up the MIDI input device to call the trigger functions when it receives an event.
Can be called from any thread.
VuoMIDIIn VuoMIDIIn_make | ( | VuoMIDIDevice | md | ) |
Creates a manager for receiving messages from a MIDI device.
VuoMIDIOut VuoMIDIOut_make | ( | VuoMIDIDevice | md | ) |
Creates a manager for sending messages to a MIDI device.