Forum
    • Categories
    • Register
    • Login

    Retrigger LFO with transport

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 37 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.
    • ustkU
      ustk
      last edited by ustk

      What is the process for making an LFO module to retrigger with the TransportHandler transportChange callback?
      And should I use the callback in the first place?

      Context:
      I always want the LFO synced to the DAW (phase and BPM)

      Here's what I have so far, nothing fancy...

      const var TH = Engine.createTransportHandler();
      
      TH.setSyncMode(TH.InternalOnly); // <- stupid me, needed External...
      TH.setLinkBpmToSyncMode(true);
      
      //! Transport
      TH.setOnTransportChange(SyncNotification, transportChanged);
      inline function transportChanged(isPlaying)
      {
      	
      }
      
      //! Beat
      TH.setOnBeatChange(SyncNotification, beatChanged);
      inline function beatChanged(beat, isNew)
      {
      	// Sync here???
      }
      
      //! Tempo
      TH.setOnTempoChange(SyncNotification, tempoChanged);
      inline function tempoChanged(BPM)
      {
      	
      }
      

      Hise made me an F5 dude, any other app just suffers...

      Oli UllmannO 1 Reply Last reply Reply Quote 0
      • Oli UllmannO
        Oli Ullmann @ustk
        last edited by

        @ustk
        Can't you just enable TempoSync and ClockSync in the LFO? It works for me with an FX plug-in.

        ustkU 1 Reply Last reply Reply Quote 1
        • ustkU
          ustk @Oli Ullmann
          last edited by

          @Oli-Ullmann Arfffff.... Don't bother... the temperature here is just melting my brain...
          I used TH.InternalOnly instead of TH.ExternalOnly, my eyes reading one thing and my brain another... It's my brain that is not in sync... 🤣

          Hise made me an F5 dude, any other app just suffers...

          Oli UllmannO 1 Reply Last reply Reply Quote 2
          • Oli UllmannO
            Oli Ullmann @ustk
            last edited by

            @ustk
            Ha ha :-D
            I feel exactly the same way!

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

            146

            Online

            2.4k

            Users

            13.9k

            Topics

            120.6k

            Posts