Forum

    • Register
    • Login
    • Search
    • Categories

    Syncing LFO modulation on fx plugin

    General Questions
    3
    9
    286
    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.
    • B
      BWSounds last edited by

      Hello,
      Working on a fx plugin and I'm stuck...

      Is it possible to have the LFO play in sync with the DAW?
      Or a better question, can you somehow script a way for the lfo to START once it starts receiving data (or you start playing something in the DAW)?

      Hopes this makes since..

      1 Reply Last reply Reply Quote 0
      • B
        BWSounds last edited by

        NVM I didnt know what to look for, but I see

        Engine.getPlayHead()
        

        Could solve this problem as it was brought up quite a few times in the last month.

        I'll leave this here in case someone else is searching in the direction I was.

        lalalandsynth 1 Reply Last reply Reply Quote 0
        • lalalandsynth
          lalalandsynth @BWSounds last edited by

          @BWSounds Yes, this is needed , but not available at the moment as far as I can tell.

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

          lalalandsynth 1 Reply Last reply Reply Quote 1
          • lalalandsynth
            lalalandsynth @lalalandsynth last edited by

            @lalalandsynth Is there a chance of getting this feature ?
            Most plugins have the capability to track and offset LFO's etc according to placement on the timeline.

            Very old school always having to start at the beginning of a bar.

            If this is implemented already , well , I would love to know 🤠

            https://lalalandaudio.com/

            https://lalalandsynth.com/

            https://www.facebook.com/lalalandsynth

            https://www.facebook.com/lalalandsynth

            Matt_SF 2 Replies Last reply Reply Quote 0
            • Matt_SF
              Matt_SF @lalalandsynth last edited by

              @lalalandsynth wouldn't this be what you're looking for ? https://docs.hise.audio/scripting/scripting-api/transporthandler/index.html 🙂

              Develop branch
              Win10 & VS17 / Monterey & Xcode 13.2.1

              1 Reply Last reply Reply Quote 0
              • Matt_SF
                Matt_SF @lalalandsynth last edited by

                @lalalandsynth this and maybe Engine.getHostBpm()

                Develop branch
                Win10 & VS17 / Monterey & Xcode 13.2.1

                lalalandsynth 1 Reply Last reply Reply Quote 0
                • lalalandsynth
                  lalalandsynth @Matt_SF last edited by

                  @matt_sf Not sure if this achieves what I need.

                  Lets say I have a Sine LFO that is set to 1/1 and I start playing in the daw at 1/4 into the bar, the LFO should start playing offset by that amount.

                  In other words it should track the "offset".

                  https://lalalandaudio.com/

                  https://lalalandsynth.com/

                  https://www.facebook.com/lalalandsynth

                  https://www.facebook.com/lalalandsynth

                  Matt_SF 1 Reply Last reply Reply Quote 0
                  • Matt_SF
                    Matt_SF @lalalandsynth last edited by

                    @lalalandsynth that sounds a bit convoluted but what about using TransportHandler.setOnBeatChange(bool sync, var f) and change the phase of the LFO depending on the beat index ?
                    Maybe someone will have a proper way to do it but, (not being in front of my computer) that would be my idea of doing it...

                    Develop branch
                    Win10 & VS17 / Monterey & Xcode 13.2.1

                    lalalandsynth 1 Reply Last reply Reply Quote 1
                    • lalalandsynth
                      lalalandsynth @Matt_SF last edited by

                      @matt_sf Well , I might also start at any random place within the bar and the lfo should sync up to that , most synths do this.

                      Imagine a drum machine that would only sync if started at the beginning of a bar , that would not be acceptable these days.

                      Feels like there should be a "follow playhead" feature ?

                      https://lalalandaudio.com/

                      https://lalalandsynth.com/

                      https://www.facebook.com/lalalandsynth

                      https://www.facebook.com/lalalandsynth

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

                      17
                      Online

                      1.1k
                      Users

                      6.7k
                      Topics

                      62.1k
                      Posts