<div dir="ltr">Yes, I've seen that behavior of oscformat and oscparse. And, while I am no expert on the OSC spec, it seems contrary to the intentions of OSC to allow the address and the data to be undifferentiable like that.<div><br></div><div>Right now, with oscformat/oscparse, there is no ability to differentiate between</div><div>/foo/bar baz     (send /foo/bar the data "baz")</div><div>and</div><div>/foo bar baz     (send /foo the data "bar baz")</div><div>as both come out of oscparse as<br></div><div>foo bar baz</div><div><br></div><div>That's why I stick to using addresses clumped together with slashes, even if that hampers my ability to route them. Attached is my hacked solution to reconstituting the original addresses. Put it after a [netreceive] with the binary flag on. </div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 10:05 PM, Dan Wilcox <span dir="ltr"><<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>There is if you transition to [oscparse]. :) Have you worked with the new vanilla  osc objects? The address is broken up into a list and pretended to the message arguments, so routing address and arguments works the same way.</div><div><br></div><div>I updated PdParty with built in oscparse functionality in Obj-C, but then again I haven't released it yet so I wasn't afraid of breaking anything, really. It's in the PureData class I believe.</div><div><br></div><div>(PdParty Open Beta coming around this weekend.)<br><br>enohp ym morf tnes<br><div>--------------</div><div>Dan Wilcox</div><div><a href="http://danomatika.com" target="_blank">danomatika.com</a></div><div><a href="http://robotcowboy.com" target="_blank">robotcowboy.com</a></div></div><div><div class="h5"><div><br>On Jan 12, 2016, at 10:39 PM, Daniel Iglesia <<a href="mailto:daniel.iglesia@gmail.com" target="_blank">daniel.iglesia@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">I had wanted it for compatibility with existing patches that expected the leading slash. <div><br></div><div>More detail: it is actually for the PdWrapper.pd that simulates the MobMuPlat app layer when developing on a laptop. The PdWrapper had previously used mrpeach OSC objects which, IIRC, kept the slashes. The editor sends an OSC message on GUI widget interaction, to be routed to the Pd patch being developed by the user. MobMuPlat (on device) reports the OSC message from the widget with the slash, so the PdWrapper.pd should do the same.</div><div><br></div><div>Is there a rationale for removing the slashes?<br><div><br></div><div><br><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 9:23 PM, Dan Wilcox <span dir="ltr"><<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Why re-add the slashes? You can just use [route] objects directly.<div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">--------<br>Dan Wilcox<br><a href="https://twitter.com/danomatika" target="_blank">@danomatika</a><br><a href="http://danomatika.com" target="_blank">danomatika.com</a><br><div><a href="http://robotcowboy.com" target="_blank">robotcowboy.com</a></div></div>

</div>
<br><div><blockquote type="cite"><div>On Jan 12, 2016, at 10:11 PM, <a href="mailto:pd-list-request@lists.iem.at" target="_blank">pd-list-request@lists.iem.at</a> wrote:</div><br><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>From:<span> </span></b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">Daniel Iglesia <<a href="mailto:daniel.iglesia@gmail.com" target="_blank">daniel.iglesia@gmail.com</a>><br></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>Subject:<span> </span></b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif"><b>Re: [PD] MobMuPlat - data from several iPads to one PC</b><br></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>Date:<span> </span></b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">January 12, 2016 at 10:10:10 PM MST<br></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>To:<span> </span></b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">Billy Stiltner <<a href="mailto:billy.stiltner@gmail.com" target="_blank">billy.stiltner@gmail.com</a>><br></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>Cc:<span> </span></b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">"<a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a>" <<a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a>><br></span></div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">[netreceive -u -b <portNumber>]<div><br></div><div>spits out ASCII (for me, on OSX, haven't tested linux). Connecting it to an [oscparse] will give the string, but parses out leading slashes. I have a tangled abstraction for re-adding slashes to the start of the OSC address if anyone is interested in that.</div><div><br></div><div>Dan</div></div></div></blockquote></div><br></div></div></blockquote></div><br></div>
</div></blockquote></div></div></div></blockquote></div><br></div>