<?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[Define line for .txt]]></title><description><![CDATA[<p>Hi,<br />
I'm in trouble trying to make this:</p>
<p>A patch writes to text.txt a name of file.wav and a number of how many times it was played;<br />
On a [loadbang] a patch reads file text.txt and knows how many times file.wav has been played and counts further;</p>
<p>I need to put more names of files with their times they been played in the same text.txt:<br />
Times Name<br />
12 file<br />
3 file1<br />
23 file2</p>
<p>How to define a line for each sub patch that it could read and write only in it's line. My patch gathering statistics of hundreds of files and would be nice to have it in one file.</p>
<p>I attached a patch with two sub patches for you to try to separate lines of sub patches that they could write and get different data from the text file according to the line they work on. Maybe you'll have other suggestions or even comments about it or modifications on my example patch.</p>
<p>more power together</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/Define_line.zip" rel="nofollow">http://www.pdpatchrepo.info/hurleur/Define_line.zip</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 23:46:03 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/3122.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Oct 2009 12:43:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Define line for .txt on Thu, 01 Oct 2009 12:43:46 GMT]]></title><description><![CDATA[<p>Hi,<br />
I'm in trouble trying to make this:</p>
<p>A patch writes to text.txt a name of file.wav and a number of how many times it was played;<br />
On a [loadbang] a patch reads file text.txt and knows how many times file.wav has been played and counts further;</p>
<p>I need to put more names of files with their times they been played in the same text.txt:<br />
Times Name<br />
12 file<br />
3 file1<br />
23 file2</p>
<p>How to define a line for each sub patch that it could read and write only in it's line. My patch gathering statistics of hundreds of files and would be nice to have it in one file.</p>
<p>I attached a patch with two sub patches for you to try to separate lines of sub patches that they could write and get different data from the text file according to the line they work on. Maybe you'll have other suggestions or even comments about it or modifications on my example patch.</p>
<p>more power together</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/Define_line.zip" rel="nofollow">http://www.pdpatchrepo.info/hurleur/Define_line.zip</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt</guid><dc:creator><![CDATA[keygap]]></dc:creator><pubDate>Thu, 01 Oct 2009 12:43:46 GMT</pubDate></item><item><title><![CDATA[Reply to Define line for .txt on Sat, 03 Oct 2009 12:26:58 GMT]]></title><description><![CDATA[<p>Found this, but can't clearly understand</p>
<p><a href="http://lists.puredata.info/pipermail/pd-list/2009-04/069735.html" rel="nofollow">http://lists.puredata.info/pipermail/pd-list/2009-04/069735.html</a><br />
<a href="http://lists.puredata.info/pipermail/pd-list/2009-04/069745.html" rel="nofollow">http://lists.puredata.info/pipermail/pd-list/2009-04/069745.html</a><br />
<a href="http://lists.puredata.info/pipermail/pd-list/2009-04/069734.html" rel="nofollow">http://lists.puredata.info/pipermail/pd-list/2009-04/069734.html</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/2</guid><dc:creator><![CDATA[keygap]]></dc:creator><pubDate>Sat, 03 Oct 2009 12:26:58 GMT</pubDate></item><item><title><![CDATA[Reply to Define line for .txt on Sat, 03 Oct 2009 14:59:51 GMT]]></title><description><![CDATA[<p>I got a replay from</p>
<p>&quot;Derek Holzer Pd-list<br />
I recommend the [col] external for this, both writing to and reading from specific lines in a file.&quot;</p>
<p>Any ideas about what library contain a [col] GUI</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/3</guid><dc:creator><![CDATA[keygap]]></dc:creator><pubDate>Sat, 03 Oct 2009 14:59:51 GMT</pubDate></item><item><title><![CDATA[Reply to Define line for .txt on Sat, 03 Oct 2009 16:36:05 GMT]]></title><description><![CDATA[<p>i'm pretty sure, he meant [coll] from cyclone. but never worked with it. but it has a help file.<br />
if it's not what you were looking for, i would think that it was maybe possible to load the file on startup into a list and then work with the list while the patch is running. before closing the patch just save the list again to a file.<br />
here you can find a good overview for list objects and abstractions available in extended:<br />
<a href="http://en.flossmanuals.net/PureData/ListofObjects" rel="nofollow">http://en.flossmanuals.net/PureData/ListofObjects</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/4</guid><dc:creator><![CDATA[toxonic]]></dc:creator><pubDate>Sat, 03 Oct 2009 16:36:05 GMT</pubDate></item><item><title><![CDATA[Reply to Define line for .txt on Sat, 03 Oct 2009 17:15:57 GMT]]></title><description><![CDATA[<p>You could do this with [coll], but if you want to use an object that doesn't stray too far from [textfile], you could use [msgfile].</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/5</guid><dc:creator><![CDATA[Maelstorm]]></dc:creator><pubDate>Sat, 03 Oct 2009 17:15:57 GMT</pubDate></item><item><title><![CDATA[Reply to Define line for .txt on Mon, 05 Oct 2009 06:35:08 GMT]]></title><description><![CDATA[<p>I changed my mind on how to sort the problem and I found that using of [coll], [msgfile] is a thing I can't work out now. I decided to crate separate files.txt of each audio file with a name and changing argument $1or %d (time of plays) in that name. Correct me if I'm not right, about the argument...</p>
<p>When I'll list ($ ls) a folder content in terminal window I'll see a clear listed statistics with names and number of plays as files but even can copy it as text list. Of course a number of play times will be in a file too for [qlist] to read it.</p>
<p>Sounds a little different than I imagine, but .... would be nice to do something like already prepared list of names in .txt, and then a sound plays reads a list and then found its name write a number at the end of the line.</p>
<p>Thank you.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/6</guid><dc:creator><![CDATA[keygap]]></dc:creator><pubDate>Mon, 05 Oct 2009 06:35:08 GMT</pubDate></item><item><title><![CDATA[Reply to Define line for .txt on Mon, 05 Oct 2009 08:23:56 GMT]]></title><description><![CDATA[<p>Have you looked at Pd Container in Pd-extended? I think the object is [h_map]. It uses key-&gt;values for storing data</p>
<p>I haven't investigated it properly, but maybe this what you need?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/7</guid><dc:creator><![CDATA[boonier]]></dc:creator><pubDate>Mon, 05 Oct 2009 08:23:56 GMT</pubDate></item><item><title><![CDATA[Reply to Define line for .txt on Wed, 13 Jan 2010 02:42:39 GMT]]></title><description><![CDATA[<p>Hello,<br />
for me to understand and make it, the most helpful practice was to study how numset.pd file works for synth in help browser/stuff/synth. Its about when you add this abstraction in your window as an object giving name [numset name x]. No matter how many of unique names you have, they'll appear in one (or many) preset.txt file as:</p>
<p>list name-in &lt;value&gt;<br />
list name2-in &lt;value&gt;</p>
<p>...enjoying pd, help files and growing experience <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/3122/define-line-for-txt/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3122/define-line-for-txt/8</guid><dc:creator><![CDATA[keygap]]></dc:creator><pubDate>Wed, 13 Jan 2010 02:42:39 GMT</pubDate></item></channel></rss>