How do I make a module stop generating sound instantly?
Like an instant NOTE_OFF event that doesn't wait for the module to finish executing the envelope? Or like a NOTECMD_CLEAN_SYNTHS that just resets one specific synth? Or like removing and readding a module in one frame but baked into the track and executed consistently on the side of sunvox engine?
Cutting off a note instantly? (SunVox or SunVox Lib)
-
- Posts: 5
- Joined: Fri Dec 06, 2019 5:22 pm
- NightRadio
- Site Admin
- Posts: 3955
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: Cutting off a note instantly? (SunVox or SunVox Lib)
There is no such command.How do I make a module stop generating sound instantly?
You can try to remove the module and then load it again.
Also you can try to send effect 13 0001 to mute the module. And then send 14 0001 to unmute it. But this will not stop the sound of the module actually.
-
- Posts: 5
- Joined: Fri Dec 06, 2019 5:22 pm
Re: Cutting off a note instantly? (SunVox or SunVox Lib)
Oh, too bad.
This opens some cool little possibilites: like having a module with very long attack, but cutting it off quickly. adding an amount of control even to randomized module controller values. An notecmd that hard-resets the module would be nice, if you happen to do some coding around those parts .
(That was the thing I liked a lot in Nanoloop (on Android) and i wanted to reconstruct this behaviour in my own SunVox-Lib-based looper.)
Best wishes and Merry Christmas!
This opens some cool little possibilites: like having a module with very long attack, but cutting it off quickly. adding an amount of control even to randomized module controller values. An notecmd that hard-resets the module would be nice, if you happen to do some coding around those parts .
(That was the thing I liked a lot in Nanoloop (on Android) and i wanted to reconstruct this behaviour in my own SunVox-Lib-based looper.)
Best wishes and Merry Christmas!
Re: Cutting off a note instantly? (SunVox or SunVox Lib)
If you set the volume in the channel to 00, that effectively cuts off the note of an instrument with a longer release.