<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[special routing]]></title><description><![CDATA[<p>hello, how do I route /1 and /2 in a way that I just get rid of the slash and get the output 1 and 2 in order to multiply them with another number?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 13:57:46 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/10243.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Jul 2016 15:34:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to special routing on Mon, 25 Jul 2016 15:34:45 GMT]]></title><description><![CDATA[<p>hello, how do I route /1 and /2 in a way that I just get rid of the slash and get the output 1 and 2 in order to multiply them with another number?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing</guid><dc:creator><![CDATA[gratkowski]]></dc:creator><pubDate>Mon, 25 Jul 2016 15:34:45 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Mon, 25 Jul 2016 16:01:54 GMT]]></title><description><![CDATA[<p>Hello there, and welcome to the forum,</p>
<p>What do you mean by route /1 and /2? Are you saying that those are symbols <code>/1</code> and <code>/2</code>? If so, here is a possible way of solving it (albeit not very elegant):</p>
<p><img src="/uploads/files/1469462473732-screenshot-from-2016-07-25-18-00-44.png" alt="Screenshot from 2016-07-25 18:00:44.png" class="img-responsive img-markdown" /></p>
<p><strong>[sel]</strong> will identify if one of those two symbols get sent to it, and bang the respective number box if they do.</p>
<p>Cheers,<br />
Gilberto</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/2</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Mon, 25 Jul 2016 16:01:54 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Mon, 25 Jul 2016 16:11:23 GMT]]></title><description><![CDATA[<p>Hi Gilberto,<br />
thanks for the reply. I'm looking for a possibility to just get rid of the slash so if the incoming messages are /1  /2 /3 /4 I want just the numbers respectively 1 2 3 4. So /1 -&gt; 1 , /7 -&gt; 7<br />
I hope this is more clear.</p>
<p>Frank</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/3</guid><dc:creator><![CDATA[gratkowski]]></dc:creator><pubDate>Mon, 25 Jul 2016 16:11:23 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Mon, 25 Jul 2016 16:43:28 GMT]]></title><description><![CDATA[<p>There are several ways you could do this. Probably the best is to use [list fromsymbol] to turn the symbol into a list of ASCII characters. The ASCII value for &quot;/&quot; is 47, so route 47 and then use [list tosymbol] to turn it back into a symbol.</p>
<p>This will only work on later versions of Vanilla. If you have a different version then you can try the externals [moocow/bytes2any] and [any2bytes].</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/4</guid><dc:creator><![CDATA[LiamG]]></dc:creator><pubDate>Mon, 25 Jul 2016 16:43:28 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Mon, 25 Jul 2016 16:52:07 GMT]]></title><description><![CDATA[<p>Hi Frank,</p>
<p>In that case what I posted above should work, but you have to manually list all possible messages. But what Liam proposes actually work much better, but I also feel it is an inelegant solution (though very very clever!). But yeah, modifying strings in Pd can be a bit of a hassle as far as I know.</p>
<p>Cheers,<br />
Gilberto</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/5</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Mon, 25 Jul 2016 16:52:07 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Mon, 25 Jul 2016 17:03:27 GMT]]></title><description><![CDATA[<p>Just making it a bit more clear by what I meant above: Liam's answer works like a charm and is <strong>really</strong> clever. I just meant to say that I wished there was a more direct way to handle this in Pd. It does look silly to have to go back and forth from symbol to list to symbol, from characters to ascii numbers to characters to floats. But yeah, it really works:</p>
<p><img src="/uploads/files/1469466206624-screenshot-from-2016-07-25-19-03-16.png" alt="Screenshot from 2016-07-25 19:03:16.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/6</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Mon, 25 Jul 2016 17:03:27 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Mon, 25 Jul 2016 17:04:54 GMT]]></title><description><![CDATA[<p>..or is it about osc routing? There are objects for this [routeOSC] or was this [OSCroute]?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/7</guid><dc:creator><![CDATA[Johnny Mauser]]></dc:creator><pubDate>Mon, 25 Jul 2016 17:04:54 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Mon, 25 Jul 2016 17:34:12 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/johnny-mauser">@Johnny-Mauser</a> I can't see how that would help removing the slash from those symbols. Do you have a specific patch in mind that could do it using OSC?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/8</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Mon, 25 Jul 2016 17:34:12 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Mon, 25 Jul 2016 18:24:49 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/gsagostinho">@gsagostinho</a> no patch in mind!! Just the intuition of hinting to the regular (?) use of osc style messages e.g. &quot;/path/to/osc/receiver/1 1&quot; or just the adress &quot;/1&quot; like it might be coming from remote apps like v-control. Still you would need a solution like yours if you don't send a value..</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/9</guid><dc:creator><![CDATA[Johnny Mauser]]></dc:creator><pubDate>Mon, 25 Jul 2016 18:24:49 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Tue, 26 Jul 2016 03:11:33 GMT]]></title><description><![CDATA[<p>As Liam said 'There are several ways you could do this.'<br />
So here's another<br />
<img src="/uploads/files/1469502656924-image.png" alt="image.png" class="img-responsive img-markdown" /><br />
.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/10</guid><dc:creator><![CDATA[Balwyn]]></dc:creator><pubDate>Tue, 26 Jul 2016 03:11:33 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Tue, 26 Jul 2016 09:41:14 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/balwyn">@Balwyn</a> This looks very nice, I didn't know <strong>[splitfilename]</strong>.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/11</guid><dc:creator><![CDATA[gsagostinho]]></dc:creator><pubDate>Tue, 26 Jul 2016 09:41:14 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Fri, 05 Aug 2016 10:45:09 GMT]]></title><description><![CDATA[<p>thanks for all the help. Unfortunately I can't uses extended versions of PD (working with MobMuPlat).<br />
I'm using Pd 0.46.7<br />
I need the result as a float not as a symbol in order to use it for math.<br />
The reason I have the symbol /1.../n is that they got sent from an iPhone with MobMuPlat and I don't want to route each symbol separately.<br />
I made it work from /1..../9 but not with /12 or /45630</p>
<p>thanks</p>
<p>frank</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/12</guid><dc:creator><![CDATA[gratkowski]]></dc:creator><pubDate>Fri, 05 Aug 2016 10:45:09 GMT</pubDate></item><item><title><![CDATA[Reply to special routing on Fri, 05 Aug 2016 21:45:40 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/gratkowski">@gratkowski</a> Hello there....... It is a bug in vanilla where an expected float is sent with a symbol tag......that I reported here..... <a href="https://sourceforge.net/p/pure-data/bugs/1232/" rel="nofollow">https://sourceforge.net/p/pure-data/bugs/1232/</a> and IOhannes M Zmoelnig has posted a workaround there....... which could help you?......<br />
Otherwise the solution is to keep your message header populated entirely by symbols..... eg...... xxx/yyy/zzz value....... and then the routing will work........ and then do a &quot;translation table&quot;...... i.e a=1 b=2 etc. using [sel a b c d etc.].......although I would have expected you to want to do some math with the value, rather than the message header?<br />
Anyway, the link above should solve your problem I hope...<br />
David.<br />
......from the bug report......<br />
<img src="/uploads/files/1470433538554-capture.jpg" alt="Capture.JPG" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10243/special-routing/13</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10243/special-routing/13</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Fri, 05 Aug 2016 21:45:40 GMT</pubDate></item></channel></rss>