HISE Logo Forum
    • Categories
    • Register
    • Login

    2 Audio Loop Players Start/End range

    Scheduled Pinned Locked Moved Scripting
    11 Posts 4 Posters 619 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.
    • M
      meto396
      last edited by

      hi there, I have 2 audio loop players. One of them is visible as an audio drop window when I drag an audio file into one player (audio loop player1), it is also in the other (audio loop player2). Is it now also possible to change the start and end range of both? Whenever I change the range in audio loop player 1, does it change the same way in audio loop player 2?

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

        @meto396 Try adding Engine.allowDuplicateSamples(false); in your on init (this works for samplers, I don't know if it affects audio loop players).

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

        M 1 Reply Last reply Reply Quote 0
        • M
          meto396 @d.healey
          last edited by

          @d-healey said in 2 Audio Loop Players Start/End range:

          Engine.allowDuplicateSamples(false);

          Function / constant not found: Engine.allowDuplicateSamples
          
          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @meto396
            last edited by

            @meto396 Sorry, should be setAllowDuplicateSamples

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

            M 1 Reply Last reply Reply Quote 0
            • M
              meto396 @d.healey
              last edited by

              @d-healey I think it doesn't work with the audio loop player

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

                @meto396 Seems to work here, maybe you need to restart HISE after adding the line of code.

                Peek 2024-04-29 18-01.gif

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

                M 1 Reply Last reply Reply Quote 0
                • M
                  meto396 @d.healey
                  last edited by

                  @d-healey noo that's not what I want. I want to control both with only 1 the range of Audio Loop Player 2 should always be the same as Audio Loop Player 1.

                  d.healeyD W 2 Replies Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @meto396
                    last edited by d.healey

                    @meto396 Aha I get it, you might be able to do it through scripting - but I don't know how :)

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

                    1 Reply Last reply Reply Quote 0
                    • W
                      WepaAudio @meto396
                      last edited by

                      @meto396 what really you want this to do? reading your question and the answer its seems its doing exactly what the question meant, can you describe better you need?

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @WepaAudio
                        last edited by

                        @WepaAudio said in 2 Audio Loop Players Start/End range:

                        @meto396 what really you want this to do? reading your question and the answer its seems its doing exactly what the question meant, can you describe better you need?

                        I think 3 months later they've either got or they haven't....

                        HISE Development for hire.
                        www.channelrobot.com

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          WepaAudio @Lindon
                          last edited by

                          @Lindon I had unanswered questions more than 3 moths. and suddenly get the answer for a late answer and I get back to that issue and solved, so there's nothing to loose

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

                          20

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          102.5k

                          Posts