HISE Logo Forum
    • Categories
    • Register
    • Login

    multiple samplers multiples preset browsers

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 238 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.
    • W
      WepaAudio
      last edited by

      I have multiple sample players I want to load different sample maps in each without changing the other sample maps in the other samplers, its possible?

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

        @WepaAudio Yes

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

        W 1 Reply Last reply Reply Quote 0
        • W
          WepaAudio @d.healey
          last edited by

          @d-healey but how, I've being trying with your video of changing maps using the preset browser video you made, I've used that example for 1 preset browser and works perfect, but not for all. I duplicate that code in different variations sometimes work wit 2, them the second one get stuck in 1 preset,, di you got any example?

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

            @WepaAudio said in multiple samplers multiples preset browsers:

            I've used that example for 1 preset browser

            You can only have one preset browser - well you can have multiple browser but they all do the same thing.

            All a preset does is store/load the state of the controls on the UI that have the SaveInPreset property enabled.

            There are various methods for loading sample maps with the preset. A simple one is to have a hidden knob on the UI that is saved in the preset - change the knob's value for each preset.

            In your script have an array that has one element for each preset, and within each element put another array containing the names of the sample maps, one per sampler.

            In the knob's callback you get the list of sample maps from the array (using the knob's value as the array index). You loop over the list and load the sample maps into each sampler.

            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

            22

            Online

            1.7k

            Users

            11.8k

            Topics

            102.8k

            Posts