<?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[Messages and numbers to ascii numbers and viceversa with Pyext.]]></title><description><![CDATA[<p>Hello everybody:<br />
Here I'm sharing a python script that contains two classes to instance using the amazing pyext library. One of these two classes converts messages and numbers to a series of its ascii character codes along with an index number, so one can store a message right away in a table. The other class does the inverse job.<br />
There is a patch that tries to show how this is implemented, á la help-patch.<br />
This works by putting the script into the &lt;whateverComesFirst&gt;/pyext/py-master/scripts/ folder so the pyext external can 'see' it.  &lt;edit&gt; I am using Pd-vanilla 0.47-1 on Debian Stretch &lt;/edit&gt;<br />
Well, let me know if this is useful to anyone if you want.<br />
Best regards.</p>
<p>Sumidero</p>
<p><a href="/uploads/files/1526654738115-cast.py">cast.py</a><br />
<a href="/uploads/files/1526654758488-symbtoascii-help.pd">symbtoascii-help.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 05:25:01 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/11389.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 May 2018 14:48:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Fri, 18 May 2018 14:52:23 GMT]]></title><description><![CDATA[<p>Hello everybody:<br />
Here I'm sharing a python script that contains two classes to instance using the amazing pyext library. One of these two classes converts messages and numbers to a series of its ascii character codes along with an index number, so one can store a message right away in a table. The other class does the inverse job.<br />
There is a patch that tries to show how this is implemented, á la help-patch.<br />
This works by putting the script into the &lt;whateverComesFirst&gt;/pyext/py-master/scripts/ folder so the pyext external can 'see' it.  &lt;edit&gt; I am using Pd-vanilla 0.47-1 on Debian Stretch &lt;/edit&gt;<br />
Well, let me know if this is useful to anyone if you want.<br />
Best regards.</p>
<p>Sumidero</p>
<p><a href="/uploads/files/1526654738115-cast.py">cast.py</a><br />
<a href="/uploads/files/1526654758488-symbtoascii-help.pd">symbtoascii-help.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext</guid><dc:creator><![CDATA[sumidero]]></dc:creator><pubDate>Fri, 18 May 2018 14:52:23 GMT</pubDate></item><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Fri, 18 May 2018 17:33:28 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/sumidero">@sumidero</a> You can build something similar in vanilla: <a href="/uploads/files/1526664765727-toascii-fromascii.zip">toascii-fromascii.zip</a> (updated)</p>
<p>But of course most of the time it is easier just to store messages in [text]. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
<p>Edit: The above patches use [list store] which i believe is available only in 0.48 and above. For debian stretch there is a backports package that has the recent Pd version: <a href="https://packages.debian.org/stretch-backports/sound/puredata" rel="nofollow">https://packages.debian.org/stretch-backports/sound/puredata</a><br />
Edit 2: bug fixed</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/2</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Fri, 18 May 2018 17:33:28 GMT</pubDate></item><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Fri, 18 May 2018 19:10:37 GMT]]></title><description><![CDATA[<p>Thanks for the info! I'll check on that soon.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/3</guid><dc:creator><![CDATA[sumidero]]></dc:creator><pubDate>Fri, 18 May 2018 19:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Fri, 18 May 2018 22:50:56 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/sumidero">@sumidero</a> Just tried your patch with pyext actually installed and realized that you probably just want to convert a message (containing spaces) to a symbol, which is actually even easier than what i did above, using [list tosymbol]: <a href="/uploads/files/1526680045172-toascii-0.47.zip">toascii-0.47.zip</a></p>
<p>This version of [toascii] should also work with 0.47, but requires list-abs for [list-drip].</p>
<p>Or combined:<br />
<a href="/uploads/files/1526683820242-message2symbol.zip">message2symbol.zip</a> (0.47)<br />
<a href="/uploads/files/1526683820242-message2symbol.zip">message2symbol.zip</a> (0.48+) <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/4</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Fri, 18 May 2018 22:50:56 GMT</pubDate></item><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Sat, 19 May 2018 05:36:37 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/sumidero">@sumidero</a> An abstraction exists for [list-drip] if you need to stay with plain vanilla (pre 0.48)...... <a href="/uploads/files/1526708123230-list-drip.pd">list-drip.pd</a><br />
As <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> has shown [store] can be used to achieve that from vanilla 0.48 onward.....<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/5</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sat, 19 May 2018 05:36:37 GMT</pubDate></item><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Sat, 19 May 2018 17:54:44 GMT]]></title><description><![CDATA[<p>Thanks <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a>, <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a>. Maybe sometimes I try to reinvent the wheel, ha ha. I'll try to get version 0.48 from backports then.<br />
Best regards.</p>
<p>sumidero</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/6</guid><dc:creator><![CDATA[sumidero]]></dc:creator><pubDate>Sat, 19 May 2018 17:54:44 GMT</pubDate></item><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Wed, 06 Feb 2019 11:44:55 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> first of all, thanks so much for the vanilla toascii abstraction. It works wonders! Other than thanking you I am here to ask you two things:</p>
<ol>
<li>I find it mindblowing that to convert a symbol to a list (unicode, not ascii) in vanilla we have to go through all that convoluted process, while the zexy library with the symbol2list object did it elegantely in one move. Most probably all the convolution was done in the backend of the object itself, but still: am I missing something? Why doesn't vanilla offer an easy and straightforward way to convert a symbol exactly as is to a unicode list? Just thinking out loud, 'been banging my head for the last hour trying to find an easier way.</li>
<li>If I were to use your toascii.pd abstraction in an Arduino communication example patch to share on GitHub, how would you like me to reference you in the patch? Do you have a standard ref. to stick in a comment inside the patch? I tried to see if you had already uploaded it on GitHub but it seems like you didn't!</li>
</ol>
<p>Thanks again!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/7</guid><dc:creator><![CDATA[iNicco]]></dc:creator><pubDate>Wed, 06 Feb 2019 11:44:55 GMT</pubDate></item><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Wed, 06 Feb 2019 17:51:25 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/inicco">@iNicco</a> This is minor stuff, you can just use it without reference. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>As to what is part of vanilla is the individual decision of Miller Pucket and the core team. Many things might be desireable, but they only include what they feel like and want to maintain. As it is FLOSS and modular and can be extended, everybody can use it as they wish. Looking at it from another perspective, some people like myself belong to a crazy purist do-everything-in-vanilla cult, whereas you can just use an external and be happy. Or in this case you can use my abstraction and just enjoy your day, while still belonging to the cult if you so wish. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/8</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Wed, 06 Feb 2019 17:51:25 GMT</pubDate></item><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Wed, 06 Feb 2019 21:55:59 GMT]]></title><description><![CDATA[<p>Just to clarify: All patches i posted in this thread are now in the public domain. Have fun. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/9</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Wed, 06 Feb 2019 21:55:59 GMT</pubDate></item><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Mon, 01 Apr 2019 13:55:39 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> I am writing this comment after a few months because today I stumbled inadvertently into a super simple vanilla solution to our problem.</p>
<p>Instead of using your vanilla toascii abstraction (that works wonders, don't get me wrong) you can just feed the full ascii string to the [fudiparse] object, and that will convert it for you!</p>
<p>Now my question is: am I missing something? Will this lead to problems? Or is it actually the &quot;from ASCII to message&quot; that we've been all dreaming of?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/10</guid><dc:creator><![CDATA[iNicco]]></dc:creator><pubDate>Mon, 01 Apr 2019 13:55:39 GMT</pubDate></item><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Tue, 02 Apr 2019 16:11:46 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/inicco">@iNicco</a> Thanks, didn't know that existed <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/11</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Tue, 02 Apr 2019 16:11:46 GMT</pubDate></item><item><title><![CDATA[Reply to Messages and numbers to ascii numbers and viceversa with Pyext. on Tue, 02 Apr 2019 16:50:43 GMT]]></title><description><![CDATA[<p>[fudiparse] is part of vanilla since summer 2017 (PD 0.48.0). i also did not know. very useful (always used some other solutions).</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11389/messages-and-numbers-to-ascii-numbers-and-viceversa-with-pyext/12</guid><dc:creator><![CDATA[Jona]]></dc:creator><pubDate>Tue, 02 Apr 2019 16:50:43 GMT</pubDate></item></channel></rss>