24 Apr
2009
24 Apr
'09
3:47 a.m.
On 23 Apr 2009, at 18:53, Robert Poor wrote:
The philosophy is simple: *Every* note-on event spawns a thread. That thread patches in the UGs and plays sound until there's a note- off event, at which it *begins* to shut down the note. Only after the note actually ends does the the thread unpatch the UGs and kill itself. ... If you hit C4 twice in a row, it will actually spawn two threads -- this is exactly what you want for something with a long decay.
So what happens in your code if the same key is hit again before the decay has ended: do you get another generator, or is the already sounding generator of the key reset? Hans