Hello,
A quick question about the envelope object: is there a way to fire a callback when the envelope is completely closed? Working on a polyphonic kbd system, where I want to work with a pool of voices, so I want to free up a voice for reuse when it's done playing. What's the best way of knowing that? I don't see a method for it on the object itself. I guess I could set a timer when I call noteOff(), but there must already be some timer in play ...
-m-
A quick question about the envelope object: is there a way to fire a callback when the envelope is completely closed? Working on a polyphonic kbd system, where I want to work with a pool of voices, so I want to free up a voice for reuse when it's done playing. What's the best way of knowing that? I don't see a method for it on the object itself. I guess I could set a timer when I call noteOff(), but there must already be some timer in play ...
-m-