Vuo
2.1.2
|
A music note event sent via MIDI.
Classes | |
struct | VuoMidiNote |
A music note event sent via MIDI. More... | |
Functions | |
VuoMidiNote | VuoMidiNote_makeFromJson (json_object *js) |
json_object * | VuoMidiNote_getJson (const VuoMidiNote mn) |
char * | VuoMidiNote_getSummary (const VuoMidiNote mn) |
bool | VuoMidiNote_areEqual (const VuoMidiNote value1, const VuoMidiNote value2) |
Returns true if the channel, note status (on/off), velocity, and note number all match. More... | |
bool | VuoMidiNote_isLessThan (const VuoMidiNote a, const VuoMidiNote b) |
Returns true if a < b . More... | |
static VuoMidiNote | VuoMidiNote_make (unsigned char channel, bool isNoteOn, unsigned char velocity, unsigned char noteNumber) __attribute__((const)) |
Returns a note event with the specified values. More... | |
VuoMidiNote | VuoMidiNote_makeFromString (const char *str) |
Automatically generated function. More... | |
char * | VuoMidiNote_getString (const VuoMidiNote value) |
Automatically generated function. More... | |
void | VuoMidiNote_retain (VuoMidiNote value) |
Automatically generated function. More... | |
void | VuoMidiNote_release (VuoMidiNote value) |
Automatically generated function. More... | |
struct VuoMidiNote |
bool VuoMidiNote_areEqual | ( | const VuoMidiNote | value1, |
const VuoMidiNote | value2 | ||
) |
Returns true if the channel, note status (on/off), velocity, and note number all match.
Definition at line 96 of file VuoMidiNote.c.
struct json_object * VuoMidiNote_getJson | ( | const VuoMidiNote | mn | ) |
Encodes value
as a JSON object.
Definition at line 56 of file VuoMidiNote.c.
char* VuoMidiNote_getString | ( | const VuoMidiNote | value | ) |
Automatically generated function.
char * VuoMidiNote_getSummary | ( | 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).
Definition at line 82 of file VuoMidiNote.c.
bool VuoMidiNote_isLessThan | ( | const VuoMidiNote | a, |
const VuoMidiNote | b | ||
) |
|
inlinestatic |
Returns a note event with the specified values.
Definition at line 45 of file VuoMidiNote.h.
VuoMidiNote VuoMidiNote_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 42 of file VuoMidiNote.c.
VuoMidiNote VuoMidiNote_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoMidiNote_release | ( | VuoMidiNote | value | ) |
Automatically generated function.
void VuoMidiNote_retain | ( | VuoMidiNote | value | ) |
Automatically generated function.