Forum

    • Register
    • Login
    • Search
    • Categories

    All samplers are being reversed with the same sample map

    General Questions
    2
    5
    19
    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.
    • H
      harris rosendahl last edited by harris rosendahl

      I have 2 different samplers, I am using 2 different buttons to make the dedicated sampler play the reversed. I am using the below setAttribute function for it.

      It works great but if both 2 samplers have the same sample map, if I want to make one of them reversed, both of them are being reversed. What am I missing here?

      Sampler.setAttribute(Sampler.Reversed, value);
      
      d.healey 1 Reply Last reply Reply Quote 0
      • d.healey
        d.healey @harris rosendahl last edited by d.healey

        015dc41a-b352-462c-8aec-f5a9ca0b82f4-image.png

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

        H 1 Reply Last reply Reply Quote 1
        • H
          harris rosendahl @d.healey last edited by

          @d-healey Thanks. So, where do I need to add it?

          Engine.setAllowDuplicateSamples(true);
          
          d.healey 1 Reply Last reply Reply Quote 0
          • d.healey
            d.healey @harris rosendahl last edited by

            @harris-rosendahl You want to set it to false (I know, counterintuitive). Put it near the top of your on init callback.

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

            H 1 Reply Last reply Reply Quote 1
            • H
              harris rosendahl @d.healey last edited by

              @d-healey Thank you so much!

              I put it on the Synth.deferCallbacks(true); function on init, Now it works!

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

              6
              Online

              977
              Users

              6.6k
              Topics

              60.6k
              Posts