OSC Documentation 0.59

©Patrick‐GillesMaillot 24 WINGOSC–V0.59
SubscribingtoOSCData
TherearethreemaintypesofsubscriptioncoveringbinaryorOSCmessages.
Atthetimeofthisdocument,amaximumof1subscriptioncanbeactiveatanytime,providedtothe
lastrequestor.Subscriptionsmustberenewedevery
10secondsinordertokeepalivebysendingone
ofthe3messagesshownbelow.
/*b~(or/*b~,~~~)willenablereceivingeventdrivenbinarymessages
Binarymessagesareformattedexactlyasthebinary/nativeinterfaceandthereforecanbesentback
totheconsolewithnochange.
Exampleusingmutesandfaders
>W,4B:/*b~
W>,32B:/~~~,b~~20bytes:d738ae75c2d5c3100000d77e463474d5c3100000
W>,24B:/~~~,b~~12bytes:d7f50f69f801d726855cd301
/*s~
(or/*s~,~~~)willenablereceivingeventOSCmessages
OSCmessagesarereceivedastripletsofdata,aspreviouslypresented
7
,andshownbelow;Sending
backdatatoWINGwillrequiretoselectoneofthe(upto)3parametersreceived,dependingonthe
chosenformat.The‘string’argumentwillalwaysworkforallmessages.
Exampleusingmutesandfaders
>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~,~~~)willenablereceivingeventOSCmessages
OSCmessagesarereceivedassingletagdata,asshownbelow;WINGreportsthenativeformatofthe
OSCpattern(ex:‘
f’forfloats,‘i’forintegers,etc.).Datareceivedwitheventsresultingofa/*S~
subscriptioncanbesentbacktotheconsolewithnochange.
Exampleusingmutesandfaders
>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]
Usingthesimpleformsofsubscriptionrequestswillprovidedatafromtheconsoletotherequesting
IP/port.ItispossibletoredirectthedatareceivedfromWINGbyprefixingthecommandswithaport
specifierelementasshownbelow:
/%23456/*b~willsubscribetobinarymessages,beingsentbyWINGtoport23456.
/%23456/*s~willsubscribetoOSCmessages,beingsentbyWINGtoport23456.
/%23456/*S~willsubscribetoOSCmessages,beingsentbyWINGtoport23456.

7
Referto“Writing(Set)ParameterandNodedata”,paragraph“SingleParameters”