<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>have you seen my answer? it should anwer your questions. (Funnily, I haven't received Miller's answer yet. The usual problems of delayed delivery on the mailing list....)</div>

<div> </div>

<div>Christof</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Freitag, 12. Juli 2019 um 19:15 Uhr<br/>
<b>Von:</b> "João Pais" <jmmmpais@gmail.com><br/>
<b>An:</b> "Miller Puckette" <msp@ucsd.edu><br/>
<b>Cc:</b> "pd-list@lists.iem.at" <pd-list@mail.iem.at><br/>
<b>Betreff:</b> Re: [PD] Problems with oscformat (and oscparse?) and slashes</div>

<div name="quoted-content">
<div>
<div>that is correct - but that will mean that for every new string, a new oscparse must be created, in contrary to the current practice, where the message has all the addresses in it.</div>

<div>2 other issues, but I can't reproduce them here:</div>

<div>- when I send an address with a number added to it, the external program doesn't accept it. When I send the same message with mrpeach, it works. In Pd (and even through unpackOSC) they look the same.</div>

<div>- when receiving the message "/output_1", oscparse doesn't process it in the same way as mrpeach: the output in Pd is "symbol /output_1", and route doesn't filter the content.</div>

<div> </div>

<div>I didn't check the exact osc code traffic, maybe later I can do that.</div>

<div> </div>

<div>Joao</div>
</div>
 

<div class="gmail_quote">
<div class="gmail_attr">Am Fr., 12. Juli 2019 um 18:18 Uhr schrieb Miller Puckette <<a href="mailto:msp@ucsd.edu" onclick="parent.window.location.href='mailto:msp@ucsd.edu'; return false;" target="_blank">msp@ucsd.edu</a>>:</div>

<blockquote class="gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;">Hi Joao -<br/>
<br/>
I might be misunderstanding the problem, but to specify an address like<br/>
"/parameter/bla" you can sen oscformat a list, "parameter bla" (the slashes<br/>
are delimiters between the elements of the address, each of which is a<br/>
symbol without any slashes in it.)  So you can simply send the message "1"<br/>
to the object "oscformat parameter bla".<br/>
<br/>
cheers<br/>
Miller<br/>
<br/>
On Fri, Jul 12, 2019 at 05:48:19PM +0200, Jo??o Pais wrote:<br/>
> Hi all,<br/>
><br/>
> I'm having some issues with oscformat and slashes ( / ). Many programs out<br/>
> there use formats such as "/parameter/bla 1", but both oscformat and<br/>
> oscparse don't really cope that well with them.<br/>
><br/>
> For oscformat:<br/>
> - it's not possible to send a string starting with a slash, the message<br/>
> "oscformat: no method for '/aa' " appears.<br/>
> - A hack can be done by sending a message [set /aa, bang( ...<br/>
> - ... but this doesn't work if the message to send is /aa 1, as oscparse<br/>
> will convert it to /aa/1<br/>
> - defining an object as [oscformat /aa] seems to work, but it will mean<br/>
> that another oscformat object has to be defined for each single string<br/>
> being sent: /aa, /aa/a, /aa/b, ...<br/>
><br/>
> For oscparse:<br/>
> - when it receives a message with slashes in it, it removes the slashes<br/>
> automatically. Which is kind of acceptable, if it's going to be connected<br/>
> with a normal route. But not that much if the message is going to be worked<br/>
> on, and resent.<br/>
><br/>
> Or is there any other way of doing this? The documentation doesn't present<br/>
> anything else. It took some time of screaming at the computer until I<br/>
> compared the results with mrpeach's objects.<br/>
><br/>
> Best,<br/>
><br/>
> Joao<br/>
<br/>
> _______________________________________________<br/>
> <a href="mailto:Pd-list@lists.iem.at" onclick="parent.window.location.href='mailto:Pd-list@lists.iem.at'; return false;" target="_blank">Pd-list@lists.iem.at</a> mailing list<br/>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br/>
 </blockquote>
</div>
<br clear="all"/>
<br/>
--
<div class="gmail_signature">
<div><span><font color="#888888">Manteuffelstr. 19<br/>
10997 Berlin (Deutschland)<br/>
Tel <a>+49 30 74921288</a> | Mob <a>+49 162 6843570</a><br/>
Studio <a>+49 30 69509190</a><br/>
<a href="mailto:jmmmpais@gmail.com" onclick="parent.window.location.href='mailto:jmmmpais@gmail.com'; return false;" target="_blank">jmmmpais@gmail.com</a> | skype: jmmmpjmmmp<br/>
<a href="https://www.facebook.com/jmmmpais" target="_blank">https://www.facebook.com/jmmmpais</a></font></span></div>
</div>
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a></div>
</div>
</div>
</div></div></body></html>