<?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[Read&#x2F;Import text file (or excel) with conditions]]></title><description><![CDATA[<p>Hi,</p>
<p>I intend to use data that I have received stored as excel files and alternatively text files. I would like to use this data as a stream of control messages.</p>
<p>The text file is formatted like this:</p>
<pre><code>&quot;here is&quot;
&quot;information&quot;
&quot;about this&quot;
&quot;section&quot;
0
0
0
12
123
3232
12345
1243132
1233243
232
322
112
0
0
&quot;here is&quot;
&quot;information&quot;
&quot;about the next&quot;
&quot;section&quot;
0
0
0
23
54
0
0
</code></pre>
<p>As a first test I would like to be able to something along these lines:</p>
<p>conditional take action:<br />
skip/pause/etc depending on symbol (0,&quot;)<br />
and<br />
use [metro] to bang to output each line.</p>
<p>I guess there are several ways to go, but the text files are huge so I prefer to not edit them, at least at this stage.</p>
<p>EDIT: the excel/text file has 202569 lines... not that great to load at once, that is why I would like to read it like a stream.</p>
<p>Cheers</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13717/read-import-text-file-or-excel-with-conditions</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 23:10:30 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/13717.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Nov 2021 15:11:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Read&#x2F;Import text file (or excel) with conditions on Sun, 14 Nov 2021 15:29:45 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>I intend to use data that I have received stored as excel files and alternatively text files. I would like to use this data as a stream of control messages.</p>
<p>The text file is formatted like this:</p>
<pre><code>&quot;here is&quot;
&quot;information&quot;
&quot;about this&quot;
&quot;section&quot;
0
0
0
12
123
3232
12345
1243132
1233243
232
322
112
0
0
&quot;here is&quot;
&quot;information&quot;
&quot;about the next&quot;
&quot;section&quot;
0
0
0
23
54
0
0
</code></pre>
<p>As a first test I would like to be able to something along these lines:</p>
<p>conditional take action:<br />
skip/pause/etc depending on symbol (0,&quot;)<br />
and<br />
use [metro] to bang to output each line.</p>
<p>I guess there are several ways to go, but the text files are huge so I prefer to not edit them, at least at this stage.</p>
<p>EDIT: the excel/text file has 202569 lines... not that great to load at once, that is why I would like to read it like a stream.</p>
<p>Cheers</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13717/read-import-text-file-or-excel-with-conditions</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13717/read-import-text-file-or-excel-with-conditions</guid><dc:creator><![CDATA[cfry]]></dc:creator><pubDate>Sun, 14 Nov 2021 15:29:45 GMT</pubDate></item><item><title><![CDATA[Reply to Read&#x2F;Import text file (or excel) with conditions on Sun, 14 Nov 2021 16:29:54 GMT]]></title><description><![CDATA[<p>I guess it's better to do this in another language, like Python, which is great in handling text files. Perhaps the new [file] object included in the current test version of Pd will be better than [text], haven't tested it yet though.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13717/read-import-text-file-or-excel-with-conditions/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13717/read-import-text-file-or-excel-with-conditions/2</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Sun, 14 Nov 2021 16:29:54 GMT</pubDate></item><item><title><![CDATA[Reply to Read&#x2F;Import text file (or excel) with conditions on Sun, 14 Nov 2021 17:26:57 GMT]]></title><description><![CDATA[<p>I tested to just copy and paste some snippets into [text define] and to use it with [text sequence]. It works pretty well, stepping it through with [metro].</p>
<p>Good point with Python. I'll have to look into that.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13717/read-import-text-file-or-excel-with-conditions/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13717/read-import-text-file-or-excel-with-conditions/3</guid><dc:creator><![CDATA[cfry]]></dc:creator><pubDate>Sun, 14 Nov 2021 17:26:57 GMT</pubDate></item></channel></rss>