Vuo
2.3.2
node
vuo.midi
VuoMidiController.h
Go to the documentation of this file.
1
10
#pragma once
11
23
typedef
struct
24
{
25
unsigned
char
channel
;
26
unsigned
char
controllerNumber
;
27
unsigned
char
value
;
28
}
VuoMidiController
;
29
30
VuoMidiController
VuoMidiController_makeFromJson
(
struct
json_object
* js);
31
struct
json_object
*
VuoMidiController_getJson
(
const
VuoMidiController
value);
32
char
*
VuoMidiController_getSummary
(
const
VuoMidiController
value);
33
34
#define VuoMidiController_SUPPORTS_COMPARISON
35
bool
VuoMidiController_areEqual
(
const
VuoMidiController
value1,
const
VuoMidiController
value2);
36
bool
VuoMidiController_isLessThan
(
const
VuoMidiController
a,
const
VuoMidiController
b);
37
41
static
inline
VuoMidiController
VuoMidiController_make
(
unsigned
char
channel,
unsigned
char
controllerNumber,
unsigned
char
value) __attribute__((
const
));
42
static
inline
VuoMidiController
VuoMidiController_make
(
unsigned
char
channel,
unsigned
char
controllerNumber,
unsigned
char
value)
43
{
44
VuoMidiController
mn;
45
mn.
channel
= channel;
46
mn.
controllerNumber
= controllerNumber;
47
mn.
value
= value;
48
return
mn;
49
}
50
52
55
VuoMidiController
VuoMidiController_makeFromString
(
const
char
*str);
56
char
*
VuoMidiController_getString
(
const
VuoMidiController
value);
57
void
VuoMidiController_retain
(
VuoMidiController
value);
58
void
VuoMidiController_release
(
VuoMidiController
value);
60
Generated on Sat Jun 19 2021 10:17:46 for Vuo by
1.9.1