<div dir="ltr">In case it's of use, I had this problem as well, and did the fiddly arcane method for pure vanilla.<div> </div><div>See this patch, and look in the abstractions 'oscparse-mobmuplat' and 'oscformat-mobmuplat'. They take the oscparse/oscformat message convention (i.e. spaces) and turn it into an address with slashes (and vice versa). </div><div><a href="https://github.com/monkeyswarm/MobMuPlatEditor/blob/master/Shared/PdWrapper.pd">https://github.com/monkeyswarm/MobMuPlatEditor/blob/master/Shared/PdWrapper.pd</a><br></div><div><br></div><div>Usage</div><div><br></div><div>[netreceive -u -b]</div><div>|</div><div>[pd oscparse-mobmuplat]</div><div>|</div><div>(use list containing an OSC message like '/foo/bar 0 1 2 3' )</div><div><br></div><div>and</div><div><br></div><div>(list containing an OSC message like '/foo/bar 0 1 2 3')</div><div>|</div><div>[pd oscformat-mobmuplat]</div><div>|</div><div>[netsend -u -b]</div><div><br></div><div>Let me know how it goes...</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 30, 2019 at 3:19 PM Christof Ressi <<a href="mailto:christof.ressi@gmx.at">christof.ressi@gmx.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks. The idea really came from zexy's l2s and s2l objects which I use so often that I thought I have to reimplement them for Pd vanilla.<br>
<br>
> String processing is one area that Pd doesn't exactly lead the pack,<br>
<br>
I'm secretely dreaming about regex support for [text] :-)<br>
<br>
> Gesendet: Dienstag, 30. April 2019 um 23:57 Uhr<br>
> Von: "Philip Stone" <<a href="mailto:pkstone@ucdavis.edu" target="_blank">pkstone@ucdavis.edu</a>><br>
> An: "Christof Ressi" <<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>><br>
> Cc: "<a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>" <<a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>><br>
> Betreff: Re: [PD] vanilla replacement for mrpeach/routeOSC<br>
><br>
> Christof,<br>
> <br>
> Your proposed new list methods are excellent, and would be extremely useful in many contexts. String processing is one area that Pd doesn't exactly lead the pack, but your improvements would go a long way towards fixing that.<br>
> <br>
> <br>
> Phil Stone<br>
> UC Davis<br>
> <br>
> On 4/30/19, 2:48 PM, "Christof Ressi" <<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>> wrote:<br>
> <br>
>     > [list fromsymbol] -> [convert ‘/’ to space] -> [list tosymbol] -> [route]<br>
>      <br>
>     that won't work because [list tosymbol] will output a single symbol with whitespace characters. <br>
>     <br>
>     what you want is: [list fromsymbol] -> [convert ‘/’ to space] -> [fudiparse]<br>
>      <br>
>     BTW, I've just recently proposed new list methods for exactly such use cases: <a href="https://github.com/pure-data/pure-data/pull/595" rel="noreferrer" target="_blank">https://github.com/pure-data/pure-data/pull/595</a><br>
>      <br>
>     Christof<br>
>      <br>
>     <br>
>     Gesendet: Dienstag, 30. April 2019 um 18:47 Uhr<br>
>     Von: "Philip Stone" <<a href="mailto:pkstone@ucdavis.edu" target="_blank">pkstone@ucdavis.edu</a>><br>
>     An: "<a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>" <<a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>><br>
>     Betreff: [PD] vanilla replacement for mrpeach/routeOSC<br>
>     <br>
>     I had some spare time to go back to my old Pd synthesizers and thought I’d try to see if recent developments in vanilla Pd could help me remove some of my external dependencies.<br>
>      <br>
>     [oscparse] works great when taking FUDI in from [netreceive], and converting the multi-level OSC message into a list of separate symbols. However, it’s no help when dealing with OSC messages not originating from the network – i.e., ones passed around internally. I use internal OSC messages a great deal in my synthesizers, and need an efficient way to route them.<br>
>      <br>
>     I can imagine a fairly arcane method: use [list fromsymbol] -> [convert ‘/’ to space] -> [list tosymbol] -> [route].  I fear, however, that this will be much less efficient than [routeOSC], especially the list-drippy [convert ‘/’ to space] part.<br>
>      <br>
>     Are there any (vanilla) alternatives to this?<br>
>      <br>
>      <br>
>     Phil Stone<br>
>     UC Davis<br>
>     _______________________________________________ <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
>     <br>
> <br>
><br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>