On Feb 2, 2004, at 4:02 PM, Julian Rohrhuber wrote:
wouldn't it be a good idea to have an osc message? it could have the following behaviour: if (the node is a synth) { if (it has a gate arg) { set this arg to zero } else { free the node } } else { free the node } // or do the above recursively, don't know. this would avoid a bit of logic in sclang, as we wouldn't have to care about how the synth releases itself.
I don't think this is correct. Under some conditions it will create more logic not less. Currently if a sound has a percussive envelope and you send it a gate off message then there is no harm done, nothing happens and the sound will still fade out and end by itself. If this message were implemented as above then you had better be careful not to send an n_release message to a percussive sound or it will cut off the decay too doon.
the argument sent with it could be the release time if it has a gate.
then that would be like voice stealing. It means that the controlling function needs to know how long the decay for the note should be. That should be a function of the envelope.
moreover (maybe), the doneActions could use this instead of \free, which would make it softer in sound.
don't understand this one. if the done action has been triggered then the gate is already off.