OSC Documentation
©Patrick‐GillesMaillot 21 WINGOSC–V0.58
OSCTagType‘blob’use
WINGOSCserverimplementationsupportsthe‘blob’OSCTagtype,enablingtheuseof‘native’
commands
6
withinOSC,makingitispossiblewiththeproperinformationathandtosendandreceive
binarydata.
Analternativetostandardnoderequests(suchastherequestonrootbelow)istouseblob.
‐>W,4B:/~~~
W‐>,116B:
/~~~,ssssssssssssssss~~~$stat~~~cfg~$syscfg~io~~ch~~aux~bus~main~~~~mtx~dca~mgrp~~~~fx~~car
ds~~~play~~~~rec~$ctl~~~~
BlobtypestypicallyapplyonWINGnodesinordertoretrievetheinternalbinaryequivalentofthe
JSONtreelevelrespectiveofaWINGnode.
Shownbelowisarequestatrootlevelusingthenativecommandspartoftheblobdata[allbytessent
shownashexdata]
/,bdd
Dataactuallysent(inhex):‐>W,16B:2f0000002c62000000000002dd000000
WING’sreplyis:
W‐>,440B:/~~~,b~~425bytes:
df00180000000097a0043900000524737461740553544154450000df001100000000edca7af9000003636667000
000df001500000000f89818a600000724737973636667000000df001300000000294f7794000002696f03492f4f
0000df00170000000070b101390000026368074348414e4e454c0000df001c000000008fa3078d0000036175780
b415558204348414e4e454c0000df001400000000f46c185e000003627573034255530000df00160000000004d3
a3a80000046d61696e044d41494e0000df001700000000f82a5af20000036d7478064d41545249580000df00140
0000000e313aeff000003646361034443410000df001c00000000d252398b0000046d6772700a4d555445204752
4f55500000df001700000000473c9134000002667807454646454354530000df002200000000b4296fc90000056
3617264730f455850414e53494f4e2043415244530000df00180000000057297a28000004706c617906504c4159
45520000df001900000000fab1762c000003726563085245434f524445520000df001900000000cbb9514300000
42463746c07434f4e54524f4c0000de
Lotsofinformationarereturnedeitherasstring,ormoreoftenasblob.Inthereplyabove,aftereach
‘df’byteisadatalengthontwobytes,immediatelyfollowedbythebinaryaddress(thehash)wherea
node,parameter,orsubtreedatacanbefound.Forexample,thesubtreeentryforchannel(
/ch)can
befoundataddress/hash70b10139
AnexampleonretrievingtheDAWnode(hashis
df17c242,partofthe$ctlsubtree)isshownbelow.
SendingtheOSCblob:
/$ctl/daw,bdd
or
/,bd7df17c242dd
Respectivelytranslateinthefollowingbinarydatabeingsenttotheconsole:
‐>W,24B:2f2463746c2f6461770000002c62000000000002dd000000
or
‐>W,20B:2f0000002c62000000000007d7df17c242dd0000
Towhichtheconsolereplieswith(itcanalsoreplywithoneoftheerrorslistedearlierintheOSC
chapters):
W‐>,876B:/$ctl/daw~~~,b~~856bytes:
df0022df17c2423cb129d50000026f6e0a44415720454e41424c4500400000000000000001df0028df17c2424e5
c7f34000004636f6e6e0a434f4e4e454354494f4e005000020344494e000355534200df0027df17c242e5681680
000004656d756c09454d554c4154494f4e00500002034d4355000348554900df0071df17c24242701ca90000066
36f6e666967000050000402434314435553544f4d20434f4e54524f4c53204f4e4c59044d5354520a53494e474c
45204d4355084d535452314558540e4d4355202b20455854454e444552084d53545232455854114d4355202b203
6
Detailinformationonnativecommandsisprovidedinaseparatechapter