HISE Logo Forum
    • Categories
    • Register
    • Login

    Best way to assign LFO to two places in an FX plugin

    Scheduled Pinned Locked Moved Scripting
    16 Posts 4 Posters 503 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.
    • T
      tomekslesicki @Lindon
      last edited by

      @Lindon thanks! The problem is that it's an FX plugin and last time I checked, Global Modulators were not exporting in this case? I may be wrong, it was a while ago.

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @tomekslesicki
        last edited by

        @tomekslesicki actually no, the global modulators (and macro modulation source container) will not be processed in an FX plugin, but that was requested multiple times and makes sense so I‘ll probably fix it soon.

        In the meantime you might try your luck with the (undeferred) onTimer callback, this should give you at least some real time predictability (the other timers run on the UI thread and have no guaranteed timing).

        T 1 Reply Last reply Reply Quote 2
        • T
          tomekslesicki @Christoph Hart
          last edited by

          @Christoph-Hart sounds promising! I can't find a way to implement it in the docs. Should be a pretty simple call I guess?

          1 Reply Last reply Reply Quote 0
          • T
            tomekslesicki
            last edited by

            @Lindon @d-healey I guess you’ve used this call before. Could you please tell me how to use it? It seems different than the standard timer...

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

              @tomekslesicki said in Best way to assign LFO to two places in an FX plugin:

              @Lindon @d-healey I guess you’ve used this call before. Could you please tell me how to use it? It seems different than the standard timer...

              Go to HISE, open the APICollection panel, and type Timer into the search box....

              HISE Development for hire.
              www.channelrobot.com

              T 1 Reply Last reply Reply Quote 0
              • T
                tomekslesicki @Lindon
                last edited by

                @Lindon I got that part, just not sure how to assign the function to it :-)

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

                  @tomekslesicki

                  Timer.setTimerCallback()

                  HISE Development for hire.
                  www.channelrobot.com

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

                    Christoph is referring to the synth timer callback, not to timer objects. It's just a callback like the note on/off callbacks. Select it from the drop down menu and put your code in there. Start/stop it with Synth.startTimer() and Synth.stopTimer() - do this in a non-deferred script.

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

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

                      @d-healey what is a non-deffered script? Sorry for so many questions, it’s just new to me.

                      1 Reply Last reply Reply Quote 0
                      • Christoph HartC
                        Christoph Hart
                        last edited by

                        Link Preview Image
                        HISE | Docs

                        favicon

                        (docs.hise.audio)

                        1 Reply Last reply Reply Quote 0
                        • T
                          tomekslesicki
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • T
                            tomekslesicki
                            last edited by

                            Thank you!

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

                            25

                            Online

                            1.7k

                            Users

                            11.7k

                            Topics

                            102.3k

                            Posts