Vuo  0.5.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
VuoMidiNote

Description

A music note event sent via MIDI.

Classes

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

Functions

VuoMidiNote VuoMidiNote_valueFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_object * VuoMidiNote_jsonFromValue (const VuoMidiNote mn)
 Encodes value as a JSON object.
 
char * VuoMidiNote_summaryFromValue (const VuoMidiNote mn)
 Returns a compact string representation of value (comma-separated coordinates).
 
VuoMidiNote VuoMidiNote_valueFromString (const char *str)
 Automatically generated function.
 
char * VuoMidiNote_stringFromValue (const VuoMidiNote value)
 Automatically generated function.
 

Class Documentation

struct VuoMidiNote
Class Members
char blah[42]
Todo:
https://b33p.net/kosada/node/4124
unsigned char channel Permitted values: 1 through 16.
bool isNoteOn Is this a Note On or Note Off event?
unsigned char noteNumber Permitted values: 0 through 127.
unsigned char velocity Permitted values: 0 through 127.

Function Documentation

struct json_object * VuoMidiNote_jsonFromValue ( const VuoMidiNote  mn)
read

Encodes value as a JSON object.

char* VuoMidiNote_stringFromValue ( const VuoMidiNote  value)

Automatically generated function.

char * VuoMidiNote_summaryFromValue ( const VuoMidiNote  mn)

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

Includes the note name with the ASA 1939 octave designator (e.g., noteNumber 60, middle C, is "C4"). Journal of the Acoustical Society of America, Volume 11, Issue 1, pp. 134-139 (1939).

VuoMidiNote VuoMidiNote_valueFromJson ( json_object *  js)

Decodes the JSON object js to create a new value.

Example:
{
"channel" : 1,
"isNoteOn" : true,
"velocity" : 127,
"noteNumber" : 60
}
VuoMidiNote VuoMidiNote_valueFromString ( const char *  str)

Automatically generated function.