HISE Logo Forum
    • Categories
    • Register
    • Login

    Audio Loop Player problems..

    Scheduled Pinned Locked Moved General Questions
    27 Posts 8 Posters 1.8k 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.
    • Casey KolbC
      Casey Kolb @DanH
      last edited by

      @danh said in Audio Loop Player problems..:

      @casey-kolb aha nice! And what about root note detection?

      I think it might do this automatically? Christoph left detailed comments in the tutorial, so there is a way to use root note detection for user audio. We aren't using it at the moment though.

      Casey Kolb
      Founder & CEO of Lunacy Audio
      Composer | Producer | Software Developer

      DanHD 1 Reply Last reply Reply Quote 0
      • DanHD
        DanH @Casey Kolb
        last edited by

        @casey-kolb Thanks mate, this is a real eye opener! Tried the example proj in Develop. All working except the loop markers would snap back to their original positions when moving. Will test in master - I assume it was written for master?

        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
        https://dhplugins.com/ | https://dcbreaks.com/
        London, UK

        NatanN Casey KolbC 2 Replies Last reply Reply Quote 0
        • NatanN
          Natan @DanH
          last edited by

          @danh I tried with master, it shows me some error,
          let me know dan if works for you :folded_hands:

          1 Reply Last reply Reply Quote 0
          • Casey KolbC
            Casey Kolb @DanH
            last edited by

            @danh said in Audio Loop Player problems..:

            @casey-kolb Thanks mate, this is a real eye opener! Tried the example proj in Develop. All working except the loop markers would snap back to their original positions when moving. Will test in master - I assume it was written for master?

            It's probably only in develop at the moment. The loop markers are a bit finicky – I think you need to be sure to update the actual sample loop points in the sampler when the markers are moved, otherwise they'll jump back to where they were. It's a fine balance of updating the visuals to always match the sampler settings. It might just be a matter of updating the panel again.

            Casey Kolb
            Founder & CEO of Lunacy Audio
            Composer | Producer | Software Developer

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

              I'm getting weirdness with the loop player when not in free-running mode. If I play a second note while the release portion of the first note is still playing then I get playback at a higher pitch, if I play a third note I will get playback at the original pitch.

              I don't think using the sampler is an option since it doesn't sync to host tempo like the loop player (or does it?)

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

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

                @Christoph-Hart Could you take a look at this issue with the loop player please? Basically if the voices are doubled the tempo doubles.

                Not only when playing two notes at once but also when the release part of the ahdsr is still playing when you play a second note.

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

                UD AUDIOU 1 Reply Last reply Reply Quote 0
                • UD AUDIOU
                  UD AUDIO @d.healey
                  last edited by

                  @d-healey I am currently updating one of my plugins which is based on the audio player.
                  I basically have the same questions. But I have one addition:
                  The doubled tempo could be a nice option to have cause sometimes I find that effect quiet enjoyable x)

                  Maybe FL isn't perfect but I like its default sampler. And the stuff in Ableton live is also nice for sure. I think if some of us would bring the audio player somewhere to that level or higher, it would be a crazy tool to make insane single sample tools.
                  But sometimes it might be nice to have 3 samples or more, so the sampler idea isn't bad. Personally I don't use kontakt or decent sampler stuff that much if they don't have drag&drop for samples. FL Direct Wave for example lets you define keyzones etc which always was fun to play with. A built-in interface designer on top, dynamic fx + save inst button would be insane...

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

                    Bump bump :)

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

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

                      Pretty sure I've solved this one.

                      @Christoph-Hart Anything wrong with replacing this:

                      dynamic_cast<AudioLooperVoice*>(getVoice(0))->syncFactor = (float)getBuffer().getCurrentRange().getLength() / (float)(lengthForOneBeat * multiplier);
                      

                      With

                      for (int i = 0; i < getNumVoices(); i++)
                      {
                          dynamic_cast<AudioLooperVoice*>(getVoice(i))->syncFactor = (float)getBuffer().getCurrentRange().getLength() / (float)(lengthForOneBeat * multiplier);
                      }	
                      

                      ?

                      Edit: Actually this screws up the free running mode. Also I notice that my loops are playing back 10bpm slower than the tempo set in HISE. So if I have a 120bpm loop I need to set the tempo to 130bpm to get it to play back correctly (that's not caused by my change though).

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

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

                        Ha yes, my solution does work! I just need to include the free time setting in the loop as well. Now I just need to know why the tempo is off by 10bmp.

                        Works fine in the compiled plugin. Pull request.

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

                        LindonL 1 Reply Last reply Reply Quote 3
                        • LindonL
                          Lindon @d.healey
                          last edited by

                          @d-healey well done that man...

                          HISE Development for hire.
                          www.channelrobot.com

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

                          16

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          103.0k

                          Posts