OSC Command list: Difference between revisions
From Elektronisches Studio
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
! Wonder OSC-Commands !! !! !! !! !! !! !! | ! Wonder OSC-Commands !! !! !! !! !! !! !! | ||
|- | |- | ||
| | | '''Complete OSC reception implementation chart''' || || || Parametertypes: || i = int || f = float || s = string || | ||
|- | |- | ||
| | | '''Note: all commands have to be prefixed with /WONDER''' || || || || || || || | ||
|- | |- | ||
| Command || Parameters || content > || ... || ... || ... || ... || ... | | Command || Parameters || content > || ... || ... || ... || ... || ... | ||
|- | |- | ||
| | | '''cwonder''' || || || || || || || | ||
|- | |- | ||
| /source/activate || i || id || || || || || | | /source/activate || i || id || || || || || | ||
Line 43: | Line 31: | ||
|- | |- | ||
| /source/position || i f f f f f || id || x coordinate [ meters ] || y coordinate [ meters ] || not used || timestamp [ seconds ] || duration [ seconds ] | | /source/position || i f f f f f || id || x coordinate [ meters ] || y coordinate [ meters ] || not used || timestamp [ seconds ] || duration [ seconds ] | ||
|- | |- | ||
| /source/color || i i i i || id || red [ 0;255 ] || green [ 0;255 ] || blue [ 0; 255 ] || || | | /source/color || i i i i || id || red [ 0;255 ] || green [ 0;255 ] || blue [ 0; 255 ] || || | ||
Line 55: | Line 41: | ||
|- | |- | ||
| /source/dopplerEffect || i i || id || on [ 0 = false, 1 = true ] || || || || | | /source/dopplerEffect || i i || id || on [ 0 = false, 1 = true ] || || || || | ||
|- | |- | ||
| /group/activate || i || groupId || || || || || | | /group/activate || i || groupId || || || || || | ||
Line 65: | Line 49: | ||
|- | |- | ||
| /group/color || i i i i || groupId || red [ 0;255 ] || green [ 0;255 ] || blue [ 0; 255 ] || || | | /group/color || i i i i || groupId || red [ 0;255 ] || green [ 0;255 ] || blue [ 0; 255 ] || || | ||
|- | |- | ||
| /project/createWithScore || s || projectname || || || || || | | /project/createWithScore || s || projectname || || || || || | ||
Line 79: | Line 61: | ||
|- | |- | ||
| /project/save || s || projectname || || || || || | | /project/save || s || projectname || || || || || | ||
|- | |- | ||
| /project/snapshot/take || i || snapshotId || || || || || | | /project/snapshot/take || i || snapshotId || || || || || | ||
Line 93: | Line 73: | ||
|- | |- | ||
| /project/snapshot/copy || i i || snapshotId (from) || snapshotId (to) || || || || | | /project/snapshot/copy || i i || snapshotId (from) || snapshotId (to) || || || || | ||
|- | |- | ||
| /score/play || none || || || || || || | | /score/play || none || || || || || || | ||
Line 111: | Line 89: | ||
|- | |- | ||
| /score/enableMMC || i || 0 = off, 1 = on || || || || || | | /score/enableMMC || i || 0 = off, 1 = on || || || || || | ||
|- | |- | ||
| /score/source/enableRecord || i i || sourceId || 0 = off, 1 = on || || || || | | /score/source/enableRecord || i i || sourceId || 0 = off, 1 = on || || || || | ||
|- | |- | ||
| /score/source/enableRead || i i || sourceId || 0 = off, 1 = on || || || || | | /score/source/enableRead || i i || sourceId || 0 = off, 1 = on || || || || | ||
|- | |- | ||
| /jfwonder/frametime || i || currenttime [ jackframe ] || || || || || | | /jfwonder/frametime || i || currenttime [ jackframe ] || || || || || | ||
Line 125: | Line 99: | ||
|- | |- | ||
| /jfwonder/error || s || errormessage || || || || || | | /jfwonder/error || s || errormessage || || || || || | ||
|- | |- | ||
| /stream/render/connect || s || name || || || || || | | /stream/render/connect || s || name || || || || || | ||
Line 139: | Line 111: | ||
|- | |- | ||
| /stream/render/send || NULL || || || || || || | | /stream/render/send || NULL || || || || || || | ||
|- | |- | ||
| /stream/score/connect || s || name || || || || || | | /stream/score/connect || s || name || || || || || | ||
Line 153: | Line 123: | ||
|- | |- | ||
| /stream/score/send || NULL || || || || || || | | /stream/score/send || NULL || || || || || || | ||
|- | |- | ||
| /stream/visual/connect || s || name || || || || || | | /stream/visual/connect || s || name || || || || || | ||
Line 167: | Line 135: | ||
|- | |- | ||
| /stream/visual/send || NULL || || || || || || | | /stream/visual/send || NULL || || || || || || | ||
|- | |- | ||
| /stream/timer/connect || s s || host || port || || || || | | /stream/timer/connect || s s || host || port || || || || | ||
Line 175: | Line 141: | ||
|- | |- | ||
| /stream/timer/pong || i || count || || || || || | | /stream/timer/pong || i || count || || || || || | ||
|- | |- | ||
| /reply || s i s || reply to message || state || message || || || | | /reply || s i s || reply to message || state || message || || || | ||
|- | |- | ||
| | | '''twonder''' || || || || || || || | ||
|- | |- | ||
| /source/activate || i || id || || || || || | | /source/activate || i || id || || || || || | ||
Line 213: | Line 167: | ||
|- | |- | ||
| /source/position || i f f f f f || id || x coordinate [ meters ] || y coordinate [ meters ] || not used || timestamp [ seconds ] || duration [ seconds ] | | /source/position || i f f f f f || id || x coordinate [ meters ] || y coordinate [ meters ] || not used || timestamp [ seconds ] || duration [ seconds ] | ||
|- | |- | ||
| /source/dopplerEffect || i i || id || on [ 0 = false, 1 = true ] || || || || | | /source/dopplerEffect || i i || id || on [ 0 = false, 1 = true ] || || || || | ||
|- | |- | ||
| /source/dopplerEffect || i i f || id || on [ 0 = false, 1 = true ] || timestamp [ seconds ] || || || | | /source/dopplerEffect || i i f || id || on [ 0 = false, 1 = true ] || timestamp [ seconds ] || || || | ||
|- | |- | ||
| /global/maxNoSources || i || number of sources || || || || || | | /global/maxNoSources || i || number of sources || || || || || | ||
|- | |- | ||
| /global/renderpolygon || s i (f f f) || roomname || number of vertices || V.1 x coord. [ meters ] || V.1 y coord. [ meters ] || V.1 z coord. [ meters ] || | | /global/renderpolygon || s i (f f f) || roomname || number of vertices || V.1 x coord. [ meters ] || V.1 y coord. [ meters ] || V.1 z coord. [ meters ] || | ||
|- | |- | ||
| /stream/render/ping || i || pingcount || || || || || | | /stream/render/ping || i || pingcount || || || || || | ||
Line 232: | Line 180: | ||
| /reply || s i s || reply to message || state || message || || || | | /reply || s i s || reply to message || state || message || || || | ||
|- | |- | ||
| | | '''xwonder''' || || || || || || || | ||
|- | |- | ||
| /source/activate || i || id || || || || || | | /source/activate || i || id || || || || || | ||
Line 269: | Line 207: | ||
|- | |- | ||
| /source/dopplerEffect || i i || id || on [ 0 = false, 1 = true ] || || || || | | /source/dopplerEffect || i i || id || on [ 0 = false, 1 = true ] || || || || | ||
|- | |- | ||
| /group/activate || i || groupId || || || || || | | /group/activate || i || groupId || || || || || | ||
Line 279: | Line 215: | ||
|- | |- | ||
| /group/color || i i i i || groupId || red [ 0;255 ] || green [ 0;255 ] || blue [ 0; 255 ] || || | | /group/color || i i i i || groupId || red [ 0;255 ] || green [ 0;255 ] || blue [ 0; 255 ] || || | ||
|- | |- | ||
| /mtctime || i i i i || hour || minute || second || millisecond || || | | /mtctime || i i i i || hour || minute || second || millisecond || || | ||
Line 295: | Line 229: | ||
|- | |- | ||
| /score/status || NULL ( i ) || scoreplayerPlayMode || scoreplayerRecordMode || scoreplayerReadMode || sourceRecordMode || sourceReadMode || | | /score/status || NULL ( i ) || scoreplayerPlayMode || scoreplayerRecordMode || scoreplayerReadMode || sourceRecordMode || sourceReadMode || | ||
|- | |- | ||
| /global/maxNoSources || i || number of sources || || || || || | | /global/maxNoSources || i || number of sources || || || || || | ||
Line 303: | Line 235: | ||
|- | |- | ||
| /project/xmlDump || i s || errorflag ( 1 = error ) || project in xml (see dtd) || || || || | | /project/xmlDump || i s || errorflag ( 1 = error ) || project in xml (see dtd) || || || || | ||
|- | |- | ||
| /stream/visual/ping || i || pingcount || || || || || | | /stream/visual/ping || i || pingcount || || || || || | ||
Line 310: | Line 240: | ||
| /reply || s i s || reply to message || state || message || || || | | /reply || s i s || reply to message || state || message || || || | ||
|- | |- | ||
| | | '''scoreplayer''' || || || || || || || | ||
|- | |- | ||
| /source/activate || i || id || || || || || | | /source/activate || i || id || || || || || | ||
Line 337: | Line 257: | ||
|- | |- | ||
| /score/source/enableRead || i i || id || || || || || | | /score/source/enableRead || i i || id || || || || || | ||
|- | |- | ||
| /score/enableRecord || i || record (0=off, 1=on) || || || || || | | /score/enableRecord || i || record (0=off, 1=on) || || || || || | ||
|- | |- | ||
| /score/enableRead || i || read (0=off, 1=on) || || || || || | | /score/enableRead || i || read (0=off, 1=on) || || || || || | ||
|- | |- | ||
| /score/create || s || scorename || || || || || | | /score/create || s || scorename || || || || || | ||
Line 355: | Line 271: | ||
|- | |- | ||
| /score/stop || none || || || || || || | | /score/stop || none || || || || || || | ||
|- | |- | ||
| /score/reset || none || || || || || || | | /score/reset || none || || || || || || | ||
Line 367: | Line 281: | ||
|- | |- | ||
| /score/newtime || i i i i || hours || minutes || seconds || milliseconds || || | | /score/newtime || i i i i || hours || minutes || seconds || milliseconds || || | ||
|- | |- | ||
| /global/maxNoSources || i || number of sources || || || || || | | /global/maxNoSources || i || number of sources || || || || || | ||
|- | |- | ||
| /stream/score/ping || i || pingcount || || || || || | | /stream/score/ping || i || pingcount || || || || || | ||
Line 378: | Line 288: | ||
| /reply || s i s || reply to message || state || message || || || | | /reply || s i s || reply to message || state || message || || || | ||
|- | |- | ||
| | | '''jfwonder''' || || || || || || || | ||
|- | |- | ||
| /jfwonder/connect || none || || || || || || | | /jfwonder/connect || none || || || || || || | ||
|- | |- | ||
| | | '''fwonder''' || || || || || || || | ||
|- | |- | ||
| /tracker/move || i f f f || source id || pan [ degrees ] || tilt [ degrees ] || rot [ degrees ], NOT USED || || | | /tracker/move || i f f f || source id || pan [ degrees ] || tilt [ degrees ] || rot [ degrees ], NOT USED || || | ||
Line 416: | Line 306: | ||
| /fwonder/resoultion/y || i || y resolution of IR Matrix [ > 0 ] || || || || || | | /fwonder/resoultion/y || i || y resolution of IR Matrix [ > 0 ] || || || || || | ||
|- | |- | ||
| | | '''qfwonder''' || || || || || || || | ||
|- | |- | ||
| /qfwonder/IRLoaded || i i i i || x || y || loaded [ 0 = no, 1 = yes ] || type [ 0 = static, 1= dynamic] || || | | /qfwonder/IRLoaded || i i i i || x || y || loaded [ 0 = no, 1 = yes ] || type [ 0 = static, 1= dynamic] || || | ||
Line 432: | Line 316: | ||
| /qfwonder/reset || none || || || || || || | | /qfwonder/reset || none || || || || || || | ||
|- | |- | ||
| | | '''tracker''' || || || || || || || | ||
|- | |- | ||
| /tracker/omit || i || keep 1, omit i messages || || || || || | | /tracker/omit || i || keep 1, omit i messages || || || || || | ||
|- | |- | ||
| /tracker/reset || i || reset tracker [1], else: do nothing || || || || || | | /tracker/reset || i || reset tracker [1], else: do nothing || || || || || | ||
|} | |} |
Latest revision as of 14:14, 16 November 2016
Wonder OSC-Commands | |||||||
---|---|---|---|---|---|---|---|
Complete OSC reception implementation chart | Parametertypes: | i = int | f = float | s = string | |||
Note: all commands have to be prefixed with /WONDER | |||||||
Command | Parameters | content > | ... | ... | ... | ... | ... |
cwonder | |||||||
/source/activate | i | id | |||||
/source/deactivate | i | id | |||||
/source/type | i i | id | type [ 0=plane, 1=point ] | ||||
/source/type | i i f | id | type [ 0=plane, 1=point ] | timestamp [ seconds ] | |||
/source/angle | i f | id | angle [ degrees ] | ||||
/source/angle | i f f | id | angle [ degrees ] | duration [ seconds ] | |||
/source/angle | i f f f | id | angle [ degrees ] | duration [ seconds ] | timestamp [ seconds ] | ||
/source/position | i f f | id | x coordinate [ meters ] | y coordinate [ meters ] | |||
/source/position | i f f f | id | x coordinate [ meters ] | y coordinate [ meters ] | duration [ seconds ] | ||
/source/position | i f f f f | id | x coordinate [ meters ] | y coordinate [ meters ] | duration [ seconds ] | timestamp [ seconds ] | |
/source/position | i f f f f f | id | x coordinate [ meters ] | y coordinate [ meters ] | not used | timestamp [ seconds ] | duration [ seconds ] |
/source/color | i i i i | id | red [ 0;255 ] | green [ 0;255 ] | blue [ 0; 255 ] | ||
/source/groupId | i i | id | groupId | ||||
/source/rotationDirection | i i | id | inverted [ 0=false, 1=true] | ||||
/source/scalingDirection | i i | id | inverted [ 0=false, 1=true] | ||||
/source/dopplerEffect | i i | id | on [ 0 = false, 1 = true ] | ||||
/group/activate | i | groupId | |||||
/group/deactivate | i | groupId | |||||
/group/position | i f f | groupId | x coordinate [ meters ] | y coordinate [ meters ] | |||
/group/color | i i i i | groupId | red [ 0;255 ] | green [ 0;255 ] | blue [ 0; 255 ] | ||
/project/createWithScore | s | projectname | |||||
/project/createWithoutScore | s | projectname | |||||
/project/addScore | none | ||||||
/project/load | s | projectname | |||||
/project/save | |||||||
/project/save | s | projectname | |||||
/project/snapshot/take | i | snapshotId | |||||
/project/snapshot/take | i s | snapshotId | name | ||||
/project/snapshot/recall | i f | snapshotId | duration [ seconds ] | ||||
/project/snapshot/delete | i | snapshotId | |||||
/project/snapshot/rename | i s | snapshotId | name | ||||
/project/snapshot/copy | i i | snapshotId (from) | snapshotId (to) | ||||
/score/play | none | ||||||
/score/stop | none | ||||||
/score/setStartScenario | none | ||||||
/score/enableRecord | i | 0 = off, 1 = on | |||||
/score/enableRead | i | 0 = off, 1 = on | |||||
/score/reset | |||||||
/score/newtime | f | time [ seconds ] | |||||
/score/enableMMC | i | 0 = off, 1 = on | |||||
/score/source/enableRecord | i i | sourceId | 0 = off, 1 = on | ||||
/score/source/enableRead | i i | sourceId | 0 = off, 1 = on | ||||
/jfwonder/frametime | i | currenttime [ jackframe ] | |||||
/jfwonder/connect | none | ||||||
/jfwonder/error | s | errormessage | |||||
/stream/render/connect | s | name | |||||
/stream/render/connect | s s | host | port | ||||
/stream/render/connect | none | ||||||
/stream/render/disconnect | none | ||||||
/stream/render/pong | i | count | |||||
/stream/render/send | NULL | ||||||
/stream/score/connect | s | name | |||||
/stream/score/connect | s s | host | port | ||||
/stream/score/connect | none | ||||||
/stream/score/disconnect | none | ||||||
/stream/score/pong | i | count | |||||
/stream/score/send | NULL | ||||||
/stream/visual/connect | s | name | |||||
/stream/visual/connect | s s | host | port | ||||
/stream/visual/connect | none | ||||||
/stream/visual/disconnect | none | ||||||
/stream/visual/pong | i | count | |||||
/stream/visual/send | NULL | ||||||
/stream/timer/connect | s s | host | port | ||||
/stream/timer/connect | none | ||||||
/stream/timer/pong | i | count | |||||
/reply | s i s | reply to message | state | message | |||
twonder | |||||||
/source/activate | i | id | |||||
/source/deactivate | i | id | |||||
/source/type | i i | id | type [ 0=plane, 1=point ] | ||||
/source/type | i i f | id | type [ 0=plane, 1=point ] | timestamp [ seconds ] | |||
/source/angle | i f | id | angle [ degrees ] | ||||
/source/angle | i f f | id | angle [ degrees ] | duration [ seconds ] | |||
/source/angle | i f f f | id | angle [ degrees ] | duration [ seconds ] | timestamp [ seconds ] | ||
/source/position | i f f | id | x coordinate [ meters ] | y coordinate [ meters ] | |||
/source/position | i f f f | id | x coordinate [ meters ] | y coordinate [ meters ] | duration [ seconds ] | ||
/source/position | i f f f f | id | x coordinate [ meters ] | y coordinate [ meters ] | duration [ seconds ] | timestamp [ seconds ] | |
/source/position | i f f f f f | id | x coordinate [ meters ] | y coordinate [ meters ] | not used | timestamp [ seconds ] | duration [ seconds ] |
/source/dopplerEffect | i i | id | on [ 0 = false, 1 = true ] | ||||
/source/dopplerEffect | i i f | id | on [ 0 = false, 1 = true ] | timestamp [ seconds ] | |||
/global/maxNoSources | i | number of sources | |||||
/global/renderpolygon | s i (f f f) | roomname | number of vertices | V.1 x coord. [ meters ] | V.1 y coord. [ meters ] | V.1 z coord. [ meters ] | |
/stream/render/ping | i | pingcount | |||||
/reply | s i s | reply to message | state | message | |||
xwonder | |||||||
/source/activate | i | id | |||||
/source/deactivate | i | id | |||||
/source/position | i f f | id | x coordinate [ meters ] | y coordinate [ meters ] | |||
/source/angle | i f | id | angle [ degrees ] | ||||
/source/type | i i | id | type [ 0=plane, 1=point ] | ||||
/source/name | i s | id | name | ||||
/source/color | i i i i | id | red [ 0;255 ] | green [ 0;255 ] | blue [ 0; 255 ] | ||
/source/groupId | i i | id | groupId | ||||
/source/rotationDirection | i i | id | inverted [ 0=false, 1=true] | ||||
/source/scalingDirection | i i | id | inverted [ 0=false, 1=true] | ||||
/score/source/enableRecord | i i | id | 0 = off, 1 = on | ||||
/score/source/enableRead | i i | id | 0 = off, 1 = on | ||||
/source/dopplerEffect | i i | id | on [ 0 = false, 1 = true ] | ||||
/group/activate | i | groupId | |||||
/group/deactivate | i | groupId | |||||
/group/position | i f f | groupId | x coordinate [ meters ] | y coordinate [ meters ] | |||
/group/color | i i i i | groupId | red [ 0;255 ] | green [ 0;255 ] | blue [ 0; 255 ] | ||
/mtctime | i i i i | hour | minute | second | millisecond | ||
/score/stop | none | ||||||
/score/play | none | ||||||
/score/enableRecord | i | 0 = off, 1 = on | |||||
/score/enableRead | i | 0 = off, 1 = on | |||||
/score/enableMMC | i | 0 = off, 1 = on | |||||
/score/status | NULL ( i ) | scoreplayerPlayMode | scoreplayerRecordMode | scoreplayerReadMode | sourceRecordMode | sourceReadMode | |
/global/maxNoSources | i | number of sources | |||||
/global/renderpolygon | s i (f f f) | roomname | number of vertices | V.1 x coord. [ meters ] | V.1 y coord. [ meters ] | V.1 z coord. [ meters ] | |
/project/xmlDump | i s | errorflag ( 1 = error ) | project in xml (see dtd) | ||||
/stream/visual/ping | i | pingcount | |||||
/reply | s i s | reply to message | state | message | |||
scoreplayer | |||||||
/source/activate | i | id | |||||
/source/deactivate | i | id | |||||
/source/name | i s | id | name | ||||
/source/position | i f f f f | id | x coordinate [ meters ] | y coordinate [ meters ] | duration [ seconds ] | timestamp [ seconds ] | |
/source/type | i i f | id | type [ 0=plane, 1=point ] | timestamp [ seconds ] | |||
/source/angle | i f f f | id | angle [ degrees ] | timestamp [ seconds ] | duration [ seconds ] | ||
/score/source/enableRecord | i i | id | record [ 0=off, 1= on ] | ||||
/score/source/enableRead | i i | id | |||||
/score/enableRecord | i | record (0=off, 1=on) | |||||
/score/enableRead | i | read (0=off, 1=on) | |||||
/score/create | s | scorename | |||||
/score/save | NULL | ||||||
/score/load | s | scorename | |||||
/score/play | none | ||||||
/score/stop | none | ||||||
/score/reset | none | ||||||
/score/setStartScenario | none | ||||||
/score/enableMMC | i | 0 = off, 1 = on | |||||
/score/enableMSRC | i | 0 = off, 1 = on | |||||
/score/newtime | i i i i | hours | minutes | seconds | milliseconds | ||
/global/maxNoSources | i | number of sources | |||||
/stream/score/ping | i | pingcount | |||||
/reply | s i s | reply to message | state | message | |||
jfwonder | |||||||
/jfwonder/connect | none | ||||||
fwonder | |||||||
/tracker/move | i f f f | source id | pan [ degrees ] | tilt [ degrees ] | rot [ degrees ], NOT USED | ||
/tracker/move/pan | f | pan [ degrees ] | |||||
/tracker/move/tilt | f | tilt [ degrees ] | |||||
/tracker/move/rot | f | rot [ degrees ], NOT USED | |||||
/fwonder/resolution/x | i | x resolution of IR Matrix [ > 0 ] | |||||
/fwonder/resoultion/y | i | y resolution of IR Matrix [ > 0 ] | |||||
qfwonder | |||||||
/qfwonder/IRLoaded | i i i i | x | y | loaded [ 0 = no, 1 = yes ] | type [ 0 = static, 1= dynamic] | ||
/qfwonder/currentIR | i i | x | y | ||||
/qfwonder/numLoadedIRs | i i | number of IRs | type[ 0 = static, 1 = dynamic] | ||||
/qfwonder/reset | none | ||||||
tracker | |||||||
/tracker/omit | i | keep 1, omit i messages | |||||
/tracker/reset | i | reset tracker [1], else: do nothing |