Vuo  0.4.9
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
VuoMidi.cc File Reference

Description

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.
 

Function Documentation

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.

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.

Todo:
https://b33p.net/kosada/node/4724
Todo:
https://b33p.net/kosada/node/4724
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.

void VuoMidiOut_destroy ( VuoMidiOut  mo)

Destroys a MIDI output device manager.

VuoMidiOut VuoMidiOut_make ( VuoMidiDevice  md)

Creates a manager for sending messages to a MIDI device.

Todo:
https://b33p.net/kosada/node/4724
Todo:
https://b33p.net/kosada/node/4724
void VuoMidiOut_sendController ( VuoMidiOut  mo,
VuoMidiController  controller 
)

Outputs the specified controller event through the specified MIDI output device mo.

void VuoMidiOut_sendNote ( VuoMidiOut  mo,
VuoMidiNote  note 
)

Outputs the specified note event through the specified MIDI output device mo.