Excluding certain groups from randomized group play with code
dassoop
Member Posts: 1 Newcomer
Is it possible to include/exclude groups from the Random group play option with code? I have tried using allow() and disallow() groups. This only mutes them, leaving an empty slot in the randomized play cycle. I want to disable it completely so the pattern is not broken.
If that's note possible, can you create/remove the groups in code?
Tagged:
0
Comments
-
Hi @EvilDragon would you be able to help @dassoop out with this issue?
0 -
You’d want to turn off the group start option and handle the group order through scripting instead. There are a bunch of ways to do this, but the simplest method is to create an array with all the groups you want to cycle through. Then, use
disallow
andallow_groups
to trigger the groups you need.
Quick example:
on init
define RR_NUM:= 4
declare rr_groups[]:= (0, 2, 4, 6)
end on on note
disallow_group(ALL_GROUPS)
allow_group(rr_groups[random(0, RR_NUM)])
end on0
Back To Top
Categories
- All Categories
- 19 Welcome
- 1.3K Hangout
- 59 NI News
- 710 Tech Talks
- 3.7K Native Access
- 15.2K Komplete
- 1.8K Komplete General
- 4K Komplete Kontrol
- 5.3K Kontakt
- 1.5K Reaktor
- 356 Battery 4
- 787 Guitar Rig & FX
- 403 Massive X & Synths
- 1.1K Other Software & Hardware
- 5.3K Maschine
- 6.7K Traktor
- 6.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