HISE Logo Forum
    • Categories
    • Register
    • Login

    Seperate combobox for each sampler to change sample maps

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 234 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.
    • G
      goldee
      last edited by

      I'm trying to create a plugin with two separate samplers. I want each sampler to have its own combo box for loading sampler maps. How can I achieve this using HISE? Do I need to create separate HISE scripts for each sampler, or can I handle them within a single script? Any specific techniques or code examples would be greatly appreciated.

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @goldee
        last edited by d.healey

        @goldee Do both samplers share the same set of sample maps? Does the user need to be able to choose the sample maps from the combo boxes?

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

        G 1 Reply Last reply Reply Quote 0
        • G
          goldee @d.healey
          last edited by

          @d-healey yes they share the same set of samples maps and yes the user can change the sample maps with combobox

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @goldee
            last edited by

            @goldee In that case you need to add two comboxes to your UI script. In the callback of one you change the sample map for sampler A and in the callback for the other you change the sample map for sampler B.

            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

            14

            Online

            1.7k

            Users

            11.8k

            Topics

            102.5k

            Posts