Disallow_Group and release notes
Hello, very new to scripting.
I'm having trouble getting the Disallow_Group command to work with release samples. To illustrate the problem, if I make a simple Kontakt instrument that contains only one group, and I run the following script:
on note
disallow_group($ALL_GROUPS)
end on
on release
disallow_group($ALL_GROUPS)
end on
What happens is exactly what I would expect, which is, no notes play, because the one group I have is always disallowed. But if I change that group to be RELEASE, then notes play everytime I release a key, which means that the group is never disallowed, when it's set to be a release group.
Would someone point me in the right direction? What I'm trying to accomplish is to learn how to use scripting to dictate when groups play and when they don't, regardless of whether they are regular groups, or release groups.
Thank you in advance!
Comments
-
You would need to script your own release triggering, because the internal release trigger handling disregards group allowing from KSP. So first, set up
SET_CONDITION(NO_SYS_SCRIPT_RLS_TRIG)
and then do release triggering your own way.0 -
Aha! Thank you for explaining this, and for pointing me in the right direction!
0
Categories
- All Categories
- 19 Welcome
- 1.4K Hangout
- 60 NI News
- 735 Tech Talks
- 3.9K Native Access
- 15.9K Komplete
- 1.9K Komplete General
- 4.1K Komplete Kontrol
- 5.5K Kontakt
- 1.5K Reaktor
- 364 Battery 4
- 817 Guitar Rig & FX
- 416 Massive X & Synths
- 1.2K Other Software & Hardware
- 5.5K Maschine
- 7K Traktor
- 7K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators