HISE Logo Forum
    • Categories
    • Register
    • Login

    RR group count

    Scheduled Pinned Locked Moved Feature Requests
    1 Posts 1 Posters 669 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey
      last edited by d.healey

      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.

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      18

      Online

      1.8k

      Users

      12.0k

      Topics

      104.7k

      Posts