Csound Csound-dev Csound-tekno Search About

piping problem

Date1997-02-19 03:50
FromJohn Francis Beahan
Subjectpiping problem
I am here @ UCSC working on a project called sonify.  It's main objective 
is to take Data sets and translate them into music so these large amounts 
of data can be better understood.  We are currently trying to use csound 
to create the music.  We've run into a curious problem.  Right now we are 
piping an application that converts the data into I-statements that 
csound can understand to csound using the real-time function described in 
the manual.  Here is the command line we are using:

%son data1.txt | csound -odevaudio -Lstdin demo.orc dummy.sco

It starts out fine for the first few events, but then it suddenly stops 
producing music.  Csound sits there as if waiting for more information, 
but produces no sound.  Yet when we run the application by itself it is 
still generating I-statements.  Either csound suddenly refuses to 
awknowledge the data or something is wrong with the pipe.  Furthermore, 
when we take the I-statements by themselves and paste them into csound 
via -Lstin command alone without piping it works fine.  Does anybody have 
any suggestions or know whats wrong with this scenario that we are missing?
By the way,  we are doing all of this on an SGI, if that helps.

Thanx,  John Beahan