vsariola / sointu

Fork of 4klang that can target 386, amd64 and WebAssembly. Tools run on Windows, Mac & Linux
MIT License
240 stars 15 forks source link

send discrete note offs to halt "infinite notes" #45

Closed esaruoho closed 3 years ago

esaruoho commented 3 years ago

need a method to send discrete note offs to the whole soundspace and all instruments, without needing to press panic to kill sound

vsariola commented 3 years ago

We could note off all notes when play is started; that could lead to some issues though? One thing comes to my mind is that if one uses effects e.g. pitch ups, fades etc. with the assumption that they are left in on state for long periods of time, starting the play would kill those.

There's the "hex" boolean to denote effect tracks, perhaps we have F9 to release all non-hex tracks and F10 to release all tracks or something like that?