Forum
    • Categories
    • Register
    • Login

    Usinge the same sample files in two different sampler links them when editing.

    Scheduled Pinned Locked Moved Bug Reports
    3 Posts 2 Posters 9 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.
    • O
      observantsound
      last edited by

      I have a sustain and a release sampler.
      Both are using the exact same .wav files saved as different sample maps.
      The sustain samples have looping enabled.
      The release samples have a much delayed SampleStart position and no looping.

      Editing samples (like start position, loop on/off, looping points) in one sampler/sample map also affects the samples in the other sampler/samplemap.

      Switching between the two sample maps inside one sampler, I can see the changes that I've made visually in the UI, but playback for both samplers is set by the last used settings.
      So if I edited the RelaseSampler samples last then both SustainSampler and ReleaseSampler will playback the samples that way.

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @observantsound
        last edited by

        @observantsound Engine.setAllowDuplicateSamples(false) is what you need.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        O 1 Reply Last reply Reply Quote 1
        • O
          observantsound @David Healey
          last edited by

          @David-Healey Yes! That was it. I wasn't aware that needs to be set first.

          What would be a use case for wanting AllowDuplicateSamples to be true if this is the default behaviour?
          Is this a known bug?
          Seems counterintuitive for the Sample Editor UI not to change in the sample map if the editing is intended to be linked between samplemaps.

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

          15

          Online

          2.4k

          Users

          13.7k

          Topics

          119.5k

          Posts