Any way to return whether a group is actively playing a sample?

I'd like my UI to indicate actively playing groups, similar to how the Group Editor illuminates the groups in orange which are playing samples. My first thought might be to store eventIDs along with the associated group number in an array and then somehow check when those no longer match up. Any ideas or something simple that I might be missing?
Comments
-
You’d use
ui_buttons
and set them to 1 when a group is triggered, then back to 0 when it’s not.
It really depends on your library. Are you triggering groups by key, or layering sounds and just want to visualize which groups are active?
Keep in mind, groups in Kontakt stay active as long as the event is, so handling that can get a bit more complex. Displaying the active groups when playing a note is much more simpler.0
Categories
- All Categories
- 18 Welcome
- 1.6K Hangout
- 66 NI News
- 858 Tech Talks
- 4.4K Native Access
- 17.5K Komplete
- 2.1K Komplete General
- 4.6K Komplete Kontrol
- 6.1K Kontakt
- 1.6K Reaktor
- 398 Battery 4
- 887 Guitar Rig & FX
- 450 Massive X & Synths
- 1.4K Other Software & Hardware
- 6.1K Maschine
- 7.8K Traktor
- 7.8K 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