HISE Logo Forum
    • Categories
    • Register
    • Login

    Sampler sample switch/browse

    Scheduled Pinned Locked Moved General Questions
    7 Posts 2 Posters 320 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.
    • R
      Reylon
      last edited by Reylon

      Hi Guys. I want to use the ComboBox to be able to browse between the RR groups on the Sampler. Any ideas on how to do that?

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

        @Reylon What do you mean by browse?

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

        1 Reply Last reply Reply Quote 0
        • R
          Reylon
          last edited by Reylon

          @d-healey mmm just to be able to switch different sounds on the UI

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

            @Reylon Sampler.setActiveGroup

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

            1 Reply Last reply Reply Quote 0
            • R
              Reylon
              last edited by

              @d-healey Thank you. I'm trying to figure it out by reading the docs. Seems a bit more difficult than expected.

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

                @Reylon

                Everything is difficult before it is easy. This is a relatively easy thing, so take the time to figure it out.

                You need to create a callback for your combo box, and you stick the code within that callback. Use the combobox value as the group number.

                You'll also need a reference to your sampler which you can get by right clicking on your sampler's header. If you still feel stuck I recommend you watch and follow along with my video from last year where I built a sleigh bell instrument. It's a good one to get a handle on the basics of building a HISE instrument project.

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

                1 Reply Last reply Reply Quote 0
                • R
                  Reylon
                  last edited by

                  @d-healey Exactly hahah. Thank you for the information. Will watch the video :)

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

                  53

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  101.8k

                  Posts