RR group count



  • Could we have a function that provides the total number of groups a sampler has? I know we have the getRRGroupsForMessage() but what I've found is it will return 0 until after all of the samples are loaded. From testing it seems that scripts are initialized before this happens so I have to hit compile or trigger an action after the instrument is loaded to get the correct number - or I'm doing something wrong 🙂

    It also seems that getRRGroupsForMessage() returns 0 when it's called in the onNoteOn callback.


Log in to reply
 

10
Online

517
Users

1.9k
Topics

14.5k
Posts