| I'm trying to use KeyKit to drive Csound through Line events (the -L
command-line option), and am now running into a fairly basic problem -
How do you cleanly terminate a Csound real-time execution? None of the
real-time examples I've come across seem to deal with this, other than
suggesting using an "f" statement in the score to set a predetermined
length of execution. Should I just send Csound a kill or HUP signal when
I'm done playing? Will this clean up all the loose ends? I admit to
being less than knowledgeable about Unix pipes and the signalling
mechanism - I can never remember which end of a pipe you have to open
first ...
Incidently, I tried sending an "e" event to Csound, since the code does
check for this, hoping that this would terminate the session. But
apparently, the line-event code is buggy in that it complains about too
few p-fields.
Larry |