HISE Logo Forum
    • Categories
    • Register
    • Login

    Load multiple expansions

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 222 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.
    • L
      Lumi283
      last edited by

      Hello!
      Do you know if it's possible to load all expansions simultaneously? This is to be able to display and load all the sample maps in a single combo box, and the presets in another.
      Thank you
      Lumi

      1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff
        last edited by

        according to the doc, it's looks like you can load content from multiple expansions, but I haven't tried yet.

        Thanks to the unique wildcard for each expansion, you can load content from multiple expansions simultaneously and even combine it with data from the Factory Content . However HISE has a concept of an active expansion, which can be used to do different stuff like
        
        change the skin depending on the active expansion
        change the list of instruments in a combobox to show the instruments available in a specific expansion.
        You can select an expansion to be active by either:
        
        Load a user preset from an expansion
        Manually call setCurrentExpansion() with the name of the expansion you want to select.
        If you want to use that feature, you can set a Javascript function that will be called whenever one of these events happen.
        
        The concept of the active expansion is also important during development: for example the list of available samplemaps in the HISE sampler module is using the active expansion. You can change the active expansion in HISE using the ExpansionEditBar , which is part of the Sampler Workspace
        

        Dan Korneff - Producer / Mixer / Audio Nerd

        Christoph HartC L 2 Replies Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @Dan Korneff
          last edited by

          @Dan-Korneff yes the „currently active“ expansion is singular but optional (so you can use it if you want to use it as a concept in your project) - you can fetch content from different samplemaps at all times.

          L 1 Reply Last reply Reply Quote 1
          • L
            Lumi283 @Dan Korneff
            last edited by

            @Dan-Korneff Thank you

            1 Reply Last reply Reply Quote 0
            • L
              Lumi283 @Christoph Hart
              last edited by

              @Christoph-Hart Ok Thank you!

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

              30

              Online

              1.7k

              Users

              11.8k

              Topics

              102.8k

              Posts