| The issue (since I know that you are using a Mac) is the basic structure of
CSound. In order to run low latency high speed audio on the Mac, you need to
run at interrupt level, which precludes making any system memory allocation
calls. CSound is set up to allocate its memory dynamically as new instruments
are instantiated. This will not fly on the Mac, unless these calls are
buffered by a second memory manager which has already preallocated all of the
necessary memory. I contemplated this, thought better of it, and wrote
GrainWave instead. But it remains out there that some one could do this. You
would also have to intercept all of the printing to the screen.
The other performance issue would be that the sound interrupt should cause
csound to make a buffer when it needs one, instead of vice versa. This would
not increase the speed, but it would decrease the latency.
--
Mike Berry
mikeb@nmol.com
http://www.nmol.com/users/mikeb
|