26 Jan
2012
26 Jan
'12
7:04 p.m.
On Thu, Jan 26, 2012 at 03:52:07PM -0800, Robert Poor wrote:
It's not too hard to create an instrument with noteOn / noteOff methods for each SndBuf. A noteOn patches the instrument into a chain with a quick gain ramp up from zero, a noteOff ramps it down and sporks a thread to unpatch it after the ramp hits zero. At least, that what I think I used to do... ;)
That's cleanest sound-wise, not very hard and very ChucKist in structure. On the downside it's hard to guarantee that you won't run out of CPU that way. Ah, DSP... somehow it always starts interesting and then gets to choices that hurt a bit however you make them. Kas.