OSC Documentation 0.59
©Patrick‐GillesMaillot 24 WINGOSC–V0.59
SubscribingtoOSCData
TherearethreemaintypesofsubscriptioncoveringbinaryorOSCmessages.
Atthetimeofthisdocument,amaximumof1subscriptioncanbeactiveatanytime,providedtothe
lastrequestor.Subscriptionsmustberenewedevery
10secondsinordertokeepalivebysendingone
ofthe3messagesshownbelow.
/*b~(or/*b~,~~~)willenablereceivingeventdrivenbinarymessages
Binarymessagesareformattedexactlyasthebinary/nativeinterfaceandthereforecanbesentback
totheconsolewithnochange.
Exampleusingmutesandfaders
‐>W,4B:/*b~
W‐>,32B:/~~~,b~~20bytes:d738ae75c2d5c3100000d77e463474d5c3100000
W‐>,24B:/~~~,b~~12bytes:d7f50f69f801d726855cd301
/*s~
(or/*s~,~~~)willenablereceivingeventOSCmessages
OSCmessagesarereceivedastripletsofdata,aspreviouslypresented
7
,andshownbelow;Sending
backdatatoWINGwillrequiretoselectoneofthe(upto)3parametersreceived,dependingonthe
chosenformat.The‘string’argumentwillalwaysworkforallmessages.
Exampleusingmutesandfaders
‐>W,4B:/*s~
W‐>,32B:/ch/1/fdr~~~,sff~~~~‐oo~[0.0000][‐144.0000]
W‐>,32B:/ch/1/$fdr~~,sff~~~~‐oo~[0.0000][‐144.0000]
W‐>,32B:/ch/1/mute~~,sfi~~~~1~~~[1.0000][1]
W‐>,32B:/ch/1/$mute~,sfi~~~~1~~~[0.5000][1]
/*S~(or/*S~,~~~)willenablereceivingeventOSCmessages
OSCmessagesarereceivedassingletagdata,asshownbelow;WINGreportsthenativeformatofthe
OSCpattern(ex:‘
f’forfloats,‘i’forintegers,etc.).Datareceivedwitheventsresultingofa/*S~
subscriptioncanbesentbacktotheconsolewithnochange.
Exampleusingmutesandfaders
‐>W,4B:/*S~
W‐>,20B:/ch/1/fdr~~~,f~~[‐144.0000]
W‐>,20B:/ch/1/$fdr~~,f~~[‐144.0000]
W‐>,20B:/ch/1/mute~~,i~~[1]
W‐>,20B:/ch/1/$mute~,i~~[1]
Usingthesimpleformsofsubscriptionrequestswillprovidedatafromtheconsoletotherequesting
IP/port.ItispossibletoredirectthedatareceivedfromWINGbyprefixingthecommandswithaport
specifierelementasshownbelow:
/%23456/*b~willsubscribetobinarymessages,beingsentbyWINGtoport23456.
/%23456/*s~willsubscribetoOSCmessages,beingsentbyWINGtoport23456.
/%23456/*S~willsubscribetoOSCmessages,beingsentbyWINGtoport23456.
7
Referto“Writing(Set)ParameterandNodedata”,paragraph“SingleParameters”