Re: low latency

Andres Cabrera <[email protected]> Fri, 15 Oct 2004 07:52:11 -0400
Newsgroups gmane.comp.audio.csound.tekno
Message-ID <[email protected]>
Thanks Brian and Iain for your informative replies, I'll be sure to try 
kernel 2.6 soon. What's all the fuzz then in LAD about VP patches and 
stuff? Is it a further improvement?

> 
> One key to this though, is that you *must* consider cpu spikes when designing
> your csound ensemble. If you suddenly spike over 100%, your system will just
> lock up entirely until cpu use goes down again. What we did was make sure that
> whenever possible any instruments that might be on, are always on, with just an
> inaudible ouput. ( Ie the fancy feedback delays and stuff are always chugging
> away, with just an inaudible 20khz sine wave going through them ). This made a
> very large difference for stabilizing load. I dunno why, but adding the
> inaudible sine wave in all mixer channels dropped cpu spikes and even overall
> use significantly.

I guess when an instrument is instantiated some memory is allocated and 
it is this process that locks the cpu for just a little, but enough to 
cut audio. I also have to do what you describe, or find silent sections 
(between songs, etc.) to do the switching.

Cheers,
Andres


_______________________________________________
csoundtekno mailing list
[email protected]

Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno