Csound Csound-dev Csound-tekno Search About

[Csnd] Reasons why the Csound Java API suddenly stops?

Date2010-07-29 17:03
FromJacob Joaquin
Subject[Csnd] Reasons why the Csound Java API suddenly stops?
Hello everyone,

I'm using the Csound Java API with Processing. I have an issue that
has been cropping up with the Csound engine stopping in the middle of
a performance. The console window doesn't hint at any Csound errors
and returns the familiar:

"inactive allocs returned to freespace
end of score.		   overall amps:  0.46842  0.56187
	   overall samples out of range:        0        0
0 errors in performance
Elapsed time at end of performance: real: 25.661s, CPU: 5.462s
1098 4096-byte soundblks of shorts written to dac"

For example, I have an FX instrument that runs for 10 minutes, and
send i-events using Csound.InputMessage(s), but the Csound engine cuts
out at around 25 seconds. And here's the weird thing. It seems that
the problem is somewhat related to the size of the processing window.
So it cuts out at 25 seconds with a size of 320, 200. Though 640 by
400 rarely breaks. I think other parameters may also contribute to the
problem.

Meanwhile, the processing visuals keep chugging along just fine.  I'm
not actually certain that this is a Csound problem, but a Processing
one. This bug is very elusive, and I have not been able to pin it
down. Which leads me to this question:

Are there any known issues that cause Csound to stop running mid
performance utilizing the Java API in realtime? I can provide an
entire Processing project if that would help.

Best,
Jake