Vuo  1.2.8
Typedefs | Functions
VuoMidi.h File Reference

Description

VuoMidi interface.

Typedefs

typedef void * VuoMidiOut
 Manages sending messages to a MIDI device. More...
 
typedef void * VuoMidiIn
 Manages receiving messages from a MIDI device. More...
 

Functions

VuoList_VuoMidiInputDevice VuoMidi_getInputDevices (void)
 Returns a list of the available MIDI input devices. More...
 
VuoList_VuoMidiOutputDevice VuoMidi_getOutputDevices (void)
 Returns a list of the available MIDI output devices. More...
 
VuoMidiOut VuoMidiOut_make (VuoMidiOutputDevice md)
 Creates a reference-counted object to manage sending messages to a MIDI device. More...
 
void VuoMidiOut_sendNote (VuoMidiOut mo, VuoMidiNote note)
 Outputs the specified note event through the specified MIDI output device mo. More...
 
void VuoMidiOut_sendController (VuoMidiOut mo, VuoMidiController controller)
 Outputs the specified controller event through the specified MIDI output device mo. More...
 
void VuoMidiOut_sendPitchBend (VuoMidiOut mo, VuoMidiPitchBend pitchBend)
 Outputs the specified pitchBend event through the specified MIDI output device mo. More...
 
VuoMidiIn VuoMidiIn_make (VuoMidiInputDevice md)
 Creates a reference-counted object to manage receiving messages from a MIDI device. More...
 
void VuoMidiIn_enableTriggers (VuoMidiIn mi, void(*receivedNote)(void *context, VuoMidiNote note), void(*receivedController)(void *context, VuoMidiController controller), void(*receivedPitchBend)(void *context, VuoMidiPitchBend pitchBend), void *context)
 Sets up the MIDI input device to call the trigger functions when it receives an event. More...
 
void VuoMidiIn_disableTriggers (VuoMidiIn mi)
 Stops the MIDI input device from calling trigger functions when it receives an event. More...
 

Typedef Documentation

◆ VuoMidiIn

typedef void* VuoMidiIn

Manages receiving messages from a MIDI device.

◆ VuoMidiOut

typedef void* VuoMidiOut

Manages sending messages to a MIDI device.

Function Documentation

◆ VuoMidi_getInputDevices()

VuoList_VuoMidiInputDevice VuoMidi_getInputDevices ( void  )

Returns a list of the available MIDI input devices.

◆ VuoMidi_getOutputDevices()

VuoList_VuoMidiOutputDevice VuoMidi_getOutputDevices ( void  )

Returns a list of the available MIDI output devices.

◆ VuoMidiIn_disableTriggers()

void VuoMidiIn_disableTriggers ( VuoMidiIn  mi)

Stops the MIDI input device from calling trigger functions when it receives an event.

This function may be called from any thread.

◆ VuoMidiIn_enableTriggers()

void VuoMidiIn_enableTriggers ( VuoMidiIn  mi,
void(*)(void *context, VuoMidiNote note)  receivedNote,
void(*)(void *context, VuoMidiController controller)  receivedController,
void(*)(void *context, VuoMidiPitchBend pitchBend)  receivedPitchBend,
void *  context 
)

Sets up the MIDI input device to call the trigger functions when it receives an event.

This function may be called from any thread.

◆ VuoMidiIn_make()

VuoMidiIn VuoMidiIn_make ( VuoMidiInputDevice  md)

Creates a reference-counted object to manage receiving messages from a MIDI device.

Todo:
https://b33p.net/kosada/node/4724

◆ VuoMidiOut_make()

VuoMidiOut VuoMidiOut_make ( VuoMidiOutputDevice  md)

Creates a reference-counted object to manage sending messages to a MIDI device.

Todo:
https://b33p.net/kosada/node/4724

◆ VuoMidiOut_sendController()

void VuoMidiOut_sendController ( VuoMidiOut  mo,
VuoMidiController  controller 
)

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

◆ VuoMidiOut_sendNote()

void VuoMidiOut_sendNote ( VuoMidiOut  mo,
VuoMidiNote  note 
)

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

◆ VuoMidiOut_sendPitchBend()

void VuoMidiOut_sendPitchBend ( VuoMidiOut  mo,
VuoMidiPitchBend  pitchBend 
)

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