<?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[Save Symbol in textfile]]></title><description><![CDATA[<p>Hello community,</p>
<p>I am working on a sampler to run as vst via camomile and I try to find a way how to store a symbol in a textfile. So far it just stores some weird message in the textfile. This is roughly how I do it:</p>
<p>[bang]<br />
|<br />
[openpanel]<br />
|<br />
[symbol]<br />
|<br />
[read $1 $0-mytext(<br />
|<br />
[text define $0-mytext]  (or: [textfile]</p>
<p>Can somebody tell me what I do wrong?<br />
Thanks in advance!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 07:48:00 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/11750.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Nov 2018 11:24:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Save Symbol in textfile on Tue, 13 Nov 2018 11:24:32 GMT]]></title><description><![CDATA[<p>Hello community,</p>
<p>I am working on a sampler to run as vst via camomile and I try to find a way how to store a symbol in a textfile. So far it just stores some weird message in the textfile. This is roughly how I do it:</p>
<p>[bang]<br />
|<br />
[openpanel]<br />
|<br />
[symbol]<br />
|<br />
[read $1 $0-mytext(<br />
|<br />
[text define $0-mytext]  (or: [textfile]</p>
<p>Can somebody tell me what I do wrong?<br />
Thanks in advance!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile</guid><dc:creator><![CDATA[Jinkgo]]></dc:creator><pubDate>Tue, 13 Nov 2018 11:24:32 GMT</pubDate></item><item><title><![CDATA[Reply to Save Symbol in textfile on Tue, 13 Nov 2018 12:09:46 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jinkgo">@Jinkgo</a> It looks like you want to save a filename to [text]....... ?<br />
By the way, $0 in a message box is meaningless in Pd......<br />
Come back if you don't want the full path to the filename saved..... that will be more complex.</p>
<p>ALSO...... if you use $0 in the name $0-mytext it will make a new textfile sometimes when you open your patch....... depending on whether you have other patches open already...... so you will have no idea which one is which...... best to not use $0 in this case.<br />
David.<br />
<img src="/uploads/files/1542109984954-capture.jpg" alt="Capture.JPG" class="img-responsive img-markdown" /></p>
<p>If you want the contents of a .txt file read into [text] then it is even simpler......<br />
<img src="/uploads/files/1542110984544-capture1.jpg" alt="Capture1.JPG" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 13 Nov 2018 12:09:46 GMT</pubDate></item><item><title><![CDATA[Reply to Save Symbol in textfile on Tue, 13 Nov 2018 12:38:56 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> thank you very much! And yes, I want to store the whole path And thanks for the heads up concerning the $0 in the message box. Actually I know it, but I forget it from time to time.<br />
And I'm not sure what you mean that PD creates a new textfile when there are several patches running? But I have 20 paths I want to save. And it is less work to do it with abstractions using $0.</p>
<p>Josh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/3</guid><dc:creator><![CDATA[Jinkgo]]></dc:creator><pubDate>Tue, 13 Nov 2018 12:38:56 GMT</pubDate></item><item><title><![CDATA[Reply to Save Symbol in textfile on Tue, 13 Nov 2018 12:46:24 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jinkgo">@Jinkgo</a> If you save $0-mytext ((using the [write( message)) it will actually be saved as 1001-mytext....... or if you have another patch open with three abstractions in it then it will be saved as 1005-mytext.<br />
Not a problem if you don't want to store it for later...... but impossible to reliably read it back into your patch when you re-open it.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/4</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 13 Nov 2018 12:46:24 GMT</pubDate></item><item><title><![CDATA[Reply to Save Symbol in textfile on Thu, 29 Nov 2018 13:39:03 GMT]]></title><description><![CDATA[<p>I followed your advice and managed it with routing everything to a single soundfile. Thank you! Now I am trying to figure out how it is possible to just store the name of the file without the path. This I need to show in the camomile plugin what file is on which key. Do you have any advice there?<br />
Thank you very much,<br />
Josh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/5</guid><dc:creator><![CDATA[Jinkgo]]></dc:creator><pubDate>Thu, 29 Nov 2018 13:39:03 GMT</pubDate></item><item><title><![CDATA[Reply to Save Symbol in textfile on Thu, 29 Nov 2018 14:15:18 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jinkgo">@Jinkgo</a> Yes, anything is possible in Pd except for finding a girlfriend......<br />
[symbolic].......... <a href="/uploads/files/1543500915616-filename_only.zip">filename_only.zip</a><br />
You need the other two objects in the same folder, as they do most of the work.<br />
There is probably a simpler way and someone will post if they can think of it.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/6</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Thu, 29 Nov 2018 14:15:18 GMT</pubDate></item><item><title><![CDATA[Reply to Save Symbol in textfile on Thu, 29 Nov 2018 14:47:39 GMT]]></title><description><![CDATA[<p>Oh man thank you! I would have never come up with that! Still working on the matter concerning the girlfriend though.<br />
Josh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/7</guid><dc:creator><![CDATA[Jinkgo]]></dc:creator><pubDate>Thu, 29 Nov 2018 14:47:39 GMT</pubDate></item><item><title><![CDATA[Reply to Save Symbol in textfile on Wed, 05 Dec 2018 10:12:39 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jinkgo">@Jinkgo</a> <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> to split the name of the path i always use [splitfilename /]. It is some external though; iemlib if i remember correct.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/8</guid><dc:creator><![CDATA[Johnny Mauser]]></dc:creator><pubDate>Wed, 05 Dec 2018 10:12:39 GMT</pubDate></item><item><title><![CDATA[Reply to Save Symbol in textfile on Wed, 05 Dec 2018 11:58:59 GMT]]></title><description><![CDATA[<p>about a year ago <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> made a vanilla list drip <a href="https://forum.pdpatchrepo.info/topic/11122/faster-list-drip-with-list-store-pd-0-48" rel="nofollow">https://forum.pdpatchrepo.info/topic/11122/faster-list-drip-with-list-store-pd-0-48</a></p>
<p>using that patch (in a sub patch) I just made this filename splitter</p>
<p><a href="/uploads/files/1544011135215-filename-split.pd">filename-split.pd</a></p>
<p><img src="/uploads/files/1544011106802-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11750/save-symbol-in-textfile/9</guid><dc:creator><![CDATA[Balwyn]]></dc:creator><pubDate>Wed, 05 Dec 2018 11:58:59 GMT</pubDate></item></channel></rss>