This is working... seems a little clumsy.
FileIO file;
int val, hal;
file.open("feefo", FileIO.READ);
while(true){
while(file => val){
file => hal;
<<< "next vals:", val, hal >>>;
}
1 :: second => now;
file.open("feefo", FileIO.READ);
}

On Mon, Dec 28, 2020 at 4:55 PM Forrest Curo <treegestalt@gmail.com> wrote:
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.

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.

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?