<div dir="ltr"><div>This is working... seems a little clumsy.</div><div>FileIO file;<br>int val, hal;<br>file.open(&quot;feefo&quot;, FileIO.READ);<br>while(true){<br>        while(file =&gt; val){<br>                file =&gt; hal;<br>                &lt;&lt;&lt; &quot;next vals:&quot;, val, hal &gt;&gt;&gt;;<br>                }<br>        1 :: second =&gt; now;<br>        file.open(&quot;feefo&quot;, FileIO.READ);<br>}</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 28, 2020 at 4:55 PM Forrest Curo &lt;<a href="mailto:treegestalt@gmail.com">treegestalt@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>This is a built-in feature in csound on linux, that you can send score lines to a fifo that csound -L will pick up and execute.</div><div><br></div><div>With chuck, I can open a fifo as a file, read it, send it a line of numbers -- but as soon as chuck has read the last number, it reads the eof and stops working.</div><div><br></div><div>Is there a way to halt just short of the eof? I suppose I could add a dummy value at the end... but is there something less clumsy available?<br></div></div>
</blockquote></div>