HISE Logo Forum
    • Categories
    • Register
    • Login

    Audio Loop Player Sync Mode Not Working?

    Scheduled Pinned Locked Moved General Questions
    14 Posts 5 Posters 742 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
      Mwins
      last edited by

      Hey I'm trying to figure out why the audio loop player is not performing as the documentation states.

      looper.PNG
      It says sync mode will sync the looper to the host's tempo. I have a 4bar loop inserted with the sync mode set to 4bars. Why is the loop not syncing to tempo? Is there something else that needs to be done? Why is there a sync mode if it does not sync... I am confused as to what this actually does.

      Can anyone help me out here? Am I missing something?

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

        Are you running HISE as a plugin or are you running your exported plugin?

        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
          Mwins @d.healey
          last edited by Mwins

          @d-healey Thanks for replying. I am running my exported plugin.

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

            @Mwins Which host?

            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
              Mwins @d.healey
              last edited by Mwins

              @d-healey I'm testing in FL studio because of the popularity. I am going to try in Studio One. However, I have read in other places that time stretching is not possible with Hise... But the documentation for the loop player says that it is...

              Edit: Just tried in Studio One and it does not sync either. Have you ever gotten this to work?

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

                Link Preview Image
                Possible improvements to exported plugins?

                @d-healey Ahahaha

                favicon

                Forum (forum.hise.audio)

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

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

                  @d-healey LOL 😀 I see. Testing in Studio One produces the same result. Have you ever gotten the loop player to sync to the DAW?

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

                    @Mwins I've never used the loop player, if you post a snippet I can test it when I have time but it won't be for a few days, or someone else might jump in and test it out.

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

                    1 Reply Last reply Reply Quote 0
                    • MikeBM
                      MikeB
                      last edited by

                      Has anyone ever tested this?
                      Does it work?

                      "One hour of trial and error can save 10 minutes of reading the manual."
                      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                      1 Reply Last reply Reply Quote 0
                      • UD AUDIOU
                        UD AUDIO
                        last edited by

                        @MikeB It does "work" for me but I have issues with changing octaves.
                        I need to leave a gap between any note to get it work correctly.
                        Got no clue why this is happening but I guess it has time stretching reasons etc.

                        1 Reply Last reply Reply Quote 0
                        • M
                          MusoCity
                          last edited by

                          So if I have a wav in the audio loop player that is 120bpm how do I set it to adjust to the DAW host bpm ?

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

                            Well I'm finally using the loop player in a project and want to know the same as @MusoCity. What do I set the sync mode to for a simple 120BPM loop and does the sync mode actually work?

                            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

                              Ok I just did some tests. I have found two problems.

                              1. My loops are 8 bars but the loop player only allows me to select up to 4, so I have to lose the last 4 bars of my loop. I think this should go up to 16 at least.

                              2. It doesn't auto update with a tempo change. You have to change the sync mode setting after you change the tempo for the loop player to catch on.

                              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

                                @Christoph-Hart I've solved the first issue and added 8, 12, and 16 bar options. I'll make a pull request later.

                                For the second issue it seems there isn't a TempoListener in the AudioLooper class. I tried adding getMainController()->addTempoListener(this); but I get an instant crash when adding a loop player. Any suggestions?

                                Here's a scripted workaround:

                                const alp = Synth.getChildSynth("audioLoopPlayer0");
                                
                                const th = Engine.createTransportHandler();
                                
                                th.setOnTempoChange(false, function(x)
                                {
                                	var syncMode = alp.getAttribute(alp.SyncMode);
                                	alp.setAttribute(alp.SyncMode, syncMode);
                                });
                                

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

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

                                50

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                101.8k

                                Posts