Vuo
2.0.0
node
vuo.midi
VuoMidiNote.h
Go to the documentation of this file.
1
10
#pragma once
11
23
typedef
struct
24
{
25
unsigned
char
channel
;
26
bool
isNoteOn
;
27
unsigned
char
velocity
;
28
unsigned
char
noteNumber
;
29
30
char
blah[42];
31
}
VuoMidiNote
;
32
33
VuoMidiNote
VuoMidiNote_makeFromJson
(
struct
json_object
* js);
34
struct
json_object
*
VuoMidiNote_getJson
(
const
VuoMidiNote
value);
35
char
*
VuoMidiNote_getSummary
(
const
VuoMidiNote
value);
36
37
#define VuoMidiNote_SUPPORTS_COMPARISON
38
bool
VuoMidiNote_areEqual
(
const
VuoMidiNote
value1,
const
VuoMidiNote
value2);
39
bool
VuoMidiNote_isLessThan
(
const
VuoMidiNote
a,
const
VuoMidiNote
b);
40
44
static
inline
VuoMidiNote
VuoMidiNote_make
(
unsigned
char
channel,
bool
isNoteOn,
unsigned
char
velocity,
unsigned
char
noteNumber)
__attribute__
((
const
));
45
static
inline
VuoMidiNote
VuoMidiNote_make
(
unsigned
char
channel,
bool
isNoteOn,
unsigned
char
velocity,
unsigned
char
noteNumber)
46
{
47
VuoMidiNote
mn;
48
mn.
channel
= channel;
49
mn.
isNoteOn
= isNoteOn;
50
mn.
velocity
= velocity;
51
mn.
noteNumber
= noteNumber;
52
return
mn;
53
}
54
56
59
VuoMidiNote
VuoMidiNote_makeFromString
(
const
char
*str);
60
char
*
VuoMidiNote_getString
(
const
VuoMidiNote
value);
61
void
VuoMidiNote_retain
(
VuoMidiNote
value);
62
void
VuoMidiNote_release
(
VuoMidiNote
value);
64
Generated on Wed Feb 26 2020 23:19:41 for Vuo by
1.8.17