A music note event sent via MIDI.
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. |
Returns true if the channel, note status (on/off), velocity, and note number all match.
Encodes value
as a JSON object.
Automatically generated function.
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).
static VuoMidiNote VuoMidiNote_make |
( |
unsigned char |
channel, |
|
|
bool |
isNoteOn, |
|
|
unsigned char |
velocity, |
|
|
unsigned char |
noteNumber |
|
) |
| const |
|
inlinestatic |
Returns a note event with the specified values.
Decodes the JSON object js
to create a new value.
- Example:
{
"channel" : 1,
"isNoteOn" : true,
"velocity" : 127,
"noteNumber" : 60
}
VuoMidiNote VuoMidiNote_makeFromString |
( |
const char * |
str | ) |
|
Automatically generated function.