<?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[Number boxes --&gt; IP address?]]></title><description><![CDATA[<p>How would one complete something like the following?</p>
<p><img src="/uploads/files/1580354479983-makeipsymbol.png" alt="makeipsymbol.png" class="img-responsive img-markdown" /></p>
<p>That is, the input being four floats (which would be constrained to integers 0-255), and the output being a symbol e.g. '192.168.1.105' -- convert the integers to ASCII and concatenate them with periods in between.</p>
<p>I did some web searching but I only found that string operations are difficult in pd without externals.</p>
<p>The catch is that I had an idea to use Pd(Droid)Party as an OSC controller, so I'm not sure I <em>can</em> use externals.</p>
<p>I've successfully tested a static IP on the computer, hardcoding the address into the patch. But (and here, perhaps I'm half-mad) I was considering this for an electronic ensemble class. The thought of getting 15-20 students, with varying levels of technical skill, to create static IPs correctly induces dread. It would be nice to make the address configurable.</p>
<p>TIA,<br />
hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12547/number-boxes-ip-address</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 19:16:17 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/12547.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Jan 2020 03:21:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Number boxes --&gt; IP address? on Thu, 30 Jan 2020 03:22:46 GMT]]></title><description><![CDATA[<p>How would one complete something like the following?</p>
<p><img src="/uploads/files/1580354479983-makeipsymbol.png" alt="makeipsymbol.png" class="img-responsive img-markdown" /></p>
<p>That is, the input being four floats (which would be constrained to integers 0-255), and the output being a symbol e.g. '192.168.1.105' -- convert the integers to ASCII and concatenate them with periods in between.</p>
<p>I did some web searching but I only found that string operations are difficult in pd without externals.</p>
<p>The catch is that I had an idea to use Pd(Droid)Party as an OSC controller, so I'm not sure I <em>can</em> use externals.</p>
<p>I've successfully tested a static IP on the computer, hardcoding the address into the patch. But (and here, perhaps I'm half-mad) I was considering this for an electronic ensemble class. The thought of getting 15-20 students, with varying levels of technical skill, to create static IPs correctly induces dread. It would be nice to make the address configurable.</p>
<p>TIA,<br />
hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12547/number-boxes-ip-address</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12547/number-boxes-ip-address</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Thu, 30 Jan 2020 03:22:46 GMT</pubDate></item><item><title><![CDATA[Reply to Number boxes --&gt; IP address? on Thu, 30 Jan 2020 03:31:53 GMT]]></title><description><![CDATA[<p>Aha... I might have underestimated the message box's capabilities.</p>
<p>It looks like this might actually do it:</p>
<pre><code>[pack 0 0 0 0]
|
[disconnect, connect $1.$2.$3.$4 57120(
|
[netsend -u -b]
</code></pre>
<p>I was kind of stuck on the idea that you might have to pass a complete IP address symbol into the message -- but [netsend] seems to respond to the above.</p>
<p>Leaving the thread here, in case somebody else has the same question later.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12547/number-boxes-ip-address/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12547/number-boxes-ip-address/2</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Thu, 30 Jan 2020 03:31:53 GMT</pubDate></item></channel></rss>