Vuo  2.3.2
Classes | Macros | Functions
VuoMidiController

Description

A music note event sent via MIDI.

Classes

struct  VuoMidiController
 A music note event sent via MIDI. More...
 

Functions

VuoMidiController VuoMidiController_makeFromJson (json_object *js)
 Decodes the JSON object js to create a new value. More...
 
json_objectVuoMidiController_getJson (const VuoMidiController mn)
 Encodes value as a JSON object. More...
 
char * VuoMidiController_getSummary (const VuoMidiController mn)
 Returns a compact string representation of value (comma-separated coordinates). More...
 
bool VuoMidiController_areEqual (const VuoMidiController value1, const VuoMidiController value2)
 Returns true if the channel, controller number, and value all match. More...
 
bool VuoMidiController_isLessThan (const VuoMidiController a, const VuoMidiController b)
 Returns true if a < b. More...
 
static VuoMidiController VuoMidiController_make (unsigned char channel, unsigned char controllerNumber, unsigned char value) __attribute__((const))
 Returns a note event with the specified values. More...
 
VuoMidiController VuoMidiController_makeFromString (const char *str)
 Automatically generated function. More...
 
char * VuoMidiController_getString (const VuoMidiController value)
 Automatically generated function. More...
 
void VuoMidiController_retain (VuoMidiController value)
 Automatically generated function. More...
 
void VuoMidiController_release (VuoMidiController value)
 Automatically generated function. More...
 

Class Documentation

◆ VuoMidiController

struct VuoMidiController
Class Members
unsigned char channel Permitted values: 1 through 16.
unsigned char controllerNumber Permitted values: 0 through 127.
unsigned char value Permitted values: 0 through 127.

Function Documentation

◆ VuoMidiController_areEqual()

bool VuoMidiController_areEqual ( const VuoMidiController  value1,
const VuoMidiController  value2 
)

Returns true if the channel, controller number, and value all match.

Definition at line 83 of file VuoMidiController.c.

◆ VuoMidiController_getJson()

struct json_object * VuoMidiController_getJson ( const VuoMidiController  mn)

Encodes value as a JSON object.

Definition at line 54 of file VuoMidiController.c.

◆ VuoMidiController_getString()

char* VuoMidiController_getString ( const VuoMidiController  value)

Automatically generated function.

◆ VuoMidiController_getSummary()

char * VuoMidiController_getSummary ( const VuoMidiController  mn)

Returns a compact string representation of value (comma-separated coordinates).

Definition at line 74 of file VuoMidiController.c.

◆ VuoMidiController_isLessThan()

bool VuoMidiController_isLessThan ( const VuoMidiController  a,
const VuoMidiController  b 
)

Returns true if a < b.

Changed in Vuo 2.0.0:
New.

Definition at line 94 of file VuoMidiController.c.

◆ VuoMidiController_make()

static VuoMidiController VuoMidiController_make ( unsigned char  channel,
unsigned char  controllerNumber,
unsigned char  value 
) const
inlinestatic

Returns a note event with the specified values.

Definition at line 42 of file VuoMidiController.h.

◆ VuoMidiController_makeFromJson()

VuoMidiController VuoMidiController_makeFromJson ( json_object js)

Decodes the JSON object js to create a new value.

Example:
{
"channel" : 1,
"controllerNumber" : 1,
"value" : 127
}

Definition at line 41 of file VuoMidiController.c.

◆ VuoMidiController_makeFromString()

VuoMidiController VuoMidiController_makeFromString ( const char *  str)

Automatically generated function.

◆ VuoMidiController_release()

void VuoMidiController_release ( VuoMidiController  value)

Automatically generated function.

◆ VuoMidiController_retain()

void VuoMidiController_retain ( VuoMidiController  value)

Automatically generated function.