Playing notes from more than one slot

I have some notes playing from script slot 0 using disallow_group($ALL_GROUPS) and allowing groups, and some arpeggiator notes using ignore_event(EVENT_ID) set up like in the code below.
It all works ! ... until I try to run the non arped notes to script slot 1. It seems like there may be different rules about which slot's "on note" disallowing($ALL_GROUPS) and ignore_event(EVENT_ID) must be for them both to work. Is there any documentation about writing for multiple slots with different note systems around ? or is there a known way to handle it? I am aware the slots execute from order 0 to 4
on note ignore_event(EVENT_ID) disallow_group($ALL_GROUPS) {non arp notes } allow_group(<group>) id := play_note(EVENT_NOTE, EVENT_VELOCITY, 0, 1) disallow_group(<group>) {arp notes} arpid := play_note(played_note,played_velocity,0,%played_duration) set_event_par_arr(arpid, $EVENT_PAR_ALLOW_GROUP, 0, $ALL_GROUPS) set_event_par_arr(arpid, $EVENT_PAR_ALLOW_GROUP, 1, <group>)
Comments
-
after further research i'm going to try to deal with this a different way. I didn't realise what a dumpster fire the NCBs are with the slot system 😅
0 -
You do know you can get the group allow state for each event, in any script slot? So if you're generating a new play_note() in a subsequent script slot, that was triggered from play_note() in any of the previous script slots, you can loop through all the groups and repeat the allow state on your newly generated play_note() too...
1
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 62 NI News
- 791 Tech Talks
- 4.1K Native Access
- 16.6K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.8K Kontakt
- 1.6K Reaktor
- 381 Battery 4
- 850 Guitar Rig & FX
- 429 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.8K Maschine
- 7.4K Traktor
- 7.4K 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