HISE Logo Forum
    • Categories
    • Register
    • Login

    Sampler question

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 44 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.
    • rglidesR
      rglides
      last edited by

      I have 8 sampler with a file loading mechanic and 8 audioWaveform components - Originally I was using a single folder to load the samples in any of the audioWaveforms, until I noticed that changing the range in one then changed the range in all the others, if the same sample was loaded in more than one or all of the samplers. I suppose each sampler is manipulating the same wav file, so now I have 8 folders all with the same set of samples, with each sampler/audioWaveform loading from their respective folder. This works fine, but before I scale up I should ask, is this really the only method for handling a situation like this? I'm looking at ending up with 8 folders all with the same hundreds, potentially thousands of samples in each

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

        @rglides said in Sampler question:

        is this really the only method for handling a situation like this?

        Add this in on init

        Engine.setAllowDuplicateSamples(false); // Yes false is correct, makes no sense to me either
        

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

        rglidesR 1 Reply Last reply Reply Quote 2
        • rglidesR
          rglides @d.healey
          last edited by

          @d-healey oh wow, so simple thanks David!

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

          28

          Online

          1.9k

          Users

          12.2k

          Topics

          106.5k

          Posts