vvopensource
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
OSCConstants.h
Go to the documentation of this file.
1 
7 
12 typedef enum {
13  OSCValInt = 1,
19  OSCValChar = 7,
21  OSCValMIDI = 9,
22  OSCValBool = 10,
23  OSCValNil = 11,
25  OSCValArray = 13,
26  OSCValBlob = 14,
28 } OSCValueType;
29 
30 
32 
36 typedef enum {
37  OSCSMPTEFPSUnknown = 0,
45 } OSCSMPTEFPS;
46 
47 
49 
53 typedef enum {
69  OSCMIDIClockVal = 0xF8,
70  OSCMIDITickVal = 0xF9,
71  OSCMIDIStartVal = 0xFA,
73  OSCMIDIStopVal = 0xFC,
77 } OSCMIDIType;
78 
79 
81 
85 typedef enum {
90  OSCNodeTypeColor,
91  OSCNodeTypeString,
92 } OSCNodeType;
93 
94 
95 // this macro just rounds a number up to the nearest multiple of 4
96 #define ROUNDUP4(A) ((((A)%4)!=0) ? (4-((A)%4)+(A)) : (A))
97 
98 
99 // this is the name of the notification that gets posted whenever the address space is told to refresh its menu
100 #define OSCAddressSpaceUpdateMenus @"OSCAddressSpaceUpdateMenus"
101 
103 #define OSCInPortsAboutToChangeNotification @"OSCInPortsAboutToChangeNotification"
104 #define OSCInPortsChangedNotification @"OSCInPortsChangedNotification"
106 #define OSCOutPortsAboutToChangeNotification @"OSCOutPortsAboutToChangeNotification"
108 #define OSCOutPortsChangedNotification @"OSCOutPortsChangedNotification"
110 
111 
112 
113 
115 
119 typedef enum {
127 
131 typedef enum {
138 } OSCQueryType;
139 // these strings are used in the spec and are defined here for convenience
140 #define kOSCQueryTypeReplyString @"#reply"
141 #define kOSCQueryTypeErrorString @"#error"
142 //#define kOSCQueryTypeNamespaceExplorationString @""
143 #define kOSCQueryTypeDocumentationString @"#documentation"
144 #define kOSCQueryTypeTypeSignatureString @"#type-signature"
145 #define kOSCQueryTypeCurrentValueString @"#current-value"
146 #define kOSCQueryTypeReturnTypeSignatureString @"#return-type-string"
147 /*
148 typedef enum {
149  OSCErrorTypeUnknown,
150  OSCErrorTypeRelocated,
151  OSCErrorTypeCorrupt,
152  OSCErrorTypeMismatch,
153  OSCErrorTypeInfeasible,
154  OSCErrorTypeMissing,
155  OSCErrorTypeFailed,
156  OSCErrorTypeVolatile, // described in supplementary PDF, not sure what it means!
157 } OSCErrorType;
158 */
159 
160 
161 
Array- contains other OSCValues.
Definition: OSCConstants.h:25
a reply presumes that the query was executed successfully and an answer that is presumed to be useful...
Definition: OSCConstants.h:123
BOOL.
Definition: OSCConstants.h:22
"normal" OSC message- an address, and zero or more values. does NOT require a reply! if software does...
Definition: OSCConstants.h:121
Reset.
Definition: OSCConstants.h:76
Directory- this OSCNode probably has sub-nodes.
Definition: OSCConstants.h:87
64-bit integer -9223372036854775808 to 9223372036854775807
Definition: OSCConstants.h:17
return a list of any sub-nodes "inside" the destination address node as strings
Definition: OSCConstants.h:133
return strings that provide documentation for the support and behavior of the destination address nod...
Definition: OSCConstants.h:134
25fps
Definition: OSCConstants.h:39
OSCSMPTEFPS
OSCSMPTEFPS.
Definition: OSCConstants.h:36
Char.
Definition: OSCConstants.h:19
24fps
Definition: OSCConstants.h:38
MIDI Clock val.
Definition: OSCConstants.h:69
Note on.
Definition: OSCConstants.h:55
Float.
Definition: OSCConstants.h:14
Color.
Definition: OSCConstants.h:20
Sysex begin.
Definition: OSCConstants.h:61
48fps
Definition: OSCConstants.h:41
Integer -2147483648 to 2147483647.
Definition: OSCConstants.h:13
Start.
Definition: OSCConstants.h:71
Control Change.
Definition: OSCConstants.h:57
After-touch.
Definition: OSCConstants.h:56
the query type couldn't be parsed or something went wrong
Definition: OSCConstants.h:132
nil/NULL
Definition: OSCConstants.h:23
String.
Definition: OSCConstants.h:15
MIDI Tick val.
Definition: OSCConstants.h:70
120fps
Definition: OSCConstants.h:44
standard query types are listed below (OSCQueryType)- they require a reply of some sort from the addr...
Definition: OSCConstants.h:122
Undefined Common2.
Definition: OSCConstants.h:66
Quarter-frame.
Definition: OSCConstants.h:62
Blob- random binary data.
Definition: OSCConstants.h:26
Infinity.
Definition: OSCConstants.h:24
OSCNodeType
OSCNodeType.
Definition: OSCConstants.h:85
Continue.
Definition: OSCConstants.h:72
TimeTag.
Definition: OSCConstants.h:16
Pitch Wheel Val.
Definition: OSCConstants.h:60
OSCMIDIType
OSCMIDIType.
Definition: OSCConstants.h:53
Stop.
Definition: OSCConstants.h:73
return a single type-tag string describing the destination address node's expected INPUT value types...
Definition: OSCConstants.h:135
Song Pos. Pointer.
Definition: OSCConstants.h:63
The node describes a 2D point.
Definition: OSCConstants.h:89
Song select val.
Definition: OSCConstants.h:64
Pressure Val.
Definition: OSCConstants.h:59
return the value of the node (type of the value returned can be obtained with a "return type signatur...
Definition: OSCConstants.h:136
Pgm Change.
Definition: OSCConstants.h:58
Active Sense.
Definition: OSCConstants.h:75
The node describes a number.
Definition: OSCConstants.h:88
Sysex End.
Definition: OSCConstants.h:68
60fps
Definition: OSCConstants.h:43
an error presumes that either the query was malformed or there was an error executing it ...
Definition: OSCConstants.h:124
SMPTE time- AD-HOC DATA TYPE! ONLY SUPPORTED BY THIS FRAMEWORK! 32-bit value max time is "7:23:59:59...
Definition: OSCConstants.h:27
Undefined Common1.
Definition: OSCConstants.h:65
Undefined realtime.
Definition: OSCConstants.h:74
64-bit float (double)
Definition: OSCConstants.h:18
Unknown.
Definition: OSCConstants.h:86
return a single type-tag string describing the destination address node's expected OUTPUT value types...
Definition: OSCConstants.h:137
MIDI.
Definition: OSCConstants.h:21
50fps
Definition: OSCConstants.h:42
30fps
Definition: OSCConstants.h:40
OSCQueryType
OSCQueryType.
Definition: OSCConstants.h:131
OSCMessageType
OSCMessageType.
Definition: OSCConstants.h:119
Tune Request.
Definition: OSCConstants.h:67
if a message's type cannot be determined, this type is used. rarely encountered, might mean parsing e...
Definition: OSCConstants.h:120
Note off.
Definition: OSCConstants.h:54
OSCValueType
OSCValueType.
Definition: OSCConstants.h:12