HISE Logo Forum
    • Categories
    • Register
    • Login

    Timers do not work in VST3 plug-in

    Scheduled Pinned Locked Moved General Questions
    13 Posts 4 Posters 566 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.
    • Oli UllmannO
      Oli Ullmann @ulrik
      last edited by

      @ulrik Yes I did, because I had seen that you had suggested this in another post. Unfortunately still does not work.

      NatanN ulrikU 3 Replies Last reply Reply Quote 0
      • NatanN
        Natan @Oli Ullmann
        last edited by

        @Oli-Ullmann
        Hey Oli

        Please note that, Using Panels for timers only works once the VST UI is open in your Daw, Once you close the VST UI, It stops.

        You need an Engine Timer not a Panel Timer.

        Is This the trouble you facing with?

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

          @Oli-Ullmann Are you compiling an instrument VST? VST2 or VST3?

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik @Oli Ullmann
            last edited by ulrik

            @Oli-Ullmann This is all 3 timers running in Logic (compiled as instrument)

            timerslogic.gif

            and in Cubase

            timerscubase.gif

            These are my settings:

            Skärmavbild 2023-09-11 kl. 22.30.50.png

            Skärmavbild 2023-09-11 kl. 22.30.58.png

            Snippet

            HiseSnippet 1430.3ocsX0saaaCElJIpsxaYqEXWsqDBv.TVSckyx5FVQachiyl2Rr8rcK1PQWmrDsMWjIMjnaZ1P.1q0di1k6MH6PRYYZaoTWmTcQhIO+vuy24PpCUyHlONNlEgLr5b9HLx3iMaeNkOnx.OBEU6PjwcL6PFhihQGb9Hu3Xb.xvX8uWH0vZCj74+d1AdgdTe7zoPnWvH93iICI7oy1r7OQBCOxK.K74z42qbMeFsBKjMFPx5ltnQd9m50GW2Sn1ZlHiaUMfvYQs4dbbLxXiCXAm2d.6LpR+WPhIcCwhAkPsAGol9HVXf.whYQUFP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xxmOcvOW9LR.vNoP52JO.S5OPqq4ZkmzIBL2sPnKuLI1WFHLsOLMHfnWOHb4mu7PXSSsF7zvf8YWKLb4+fV.C2Z4JDyIUT92e2X3vxuWqmhExg2uIWuYKxygje+WPqYSpG60MIo9oZk1G2MLOJE8z28J9zxX3zKO4ATFq2C1C1l7mZaQcKygdema2zRAx6NKHKkWh3lEkZa3VETtadYuaRTN6dRzhW4DtrKKXbnGe1a.Kt1eh.3MSybsSwUKowD945eVfarqEurP7dlMIb+AYiw0x.iv49eHvXxGSXSyp85I5KIEfaXdzu7g4KGfT2gq+Id7HBTCYVe7v1vgk9XX0ohdLf4LVSbhoZrqXrfAZioAxAWBOIBKIFajHrzDgngd9QrW6qdqq3yUbG4L.lnxuTik4Ihw1kl7hVSS3Bxngj.xq88Eg+Cf1Jx1lcWAa9pUvl8VAa95UvlGsB17MqfMe6UZi3iVs+XNanZ6.LQypxFdLLpREmTHqBQ+Ovjb5gA
            

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

            Christoph HartC Oli UllmannO 2 Replies Last reply Reply Quote 2
            • Christoph HartC
              Christoph Hart @ulrik
              last edited by Christoph Hart

              I think you need to figure out whether the timers are not running or the source is not giving you updated values (I suggest the latter). Try changing the code so that the values in the timer callback definitely change (eg. Math.random()), then export the plugin again and see if the values jump around.

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

                @Natan Hey Natan, thank you for your reply. Yes, I also tried Engine timers and Synth timers. Did not work. But I got it to work now thanks to Ulrik's advice. :-)

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

                  @ulrik Hey Ulrik, thanks for your tip! Now it works. I had not set the check mark at "Enable Sound Generators FX".

                  Could you explain me purely out of interest, what the extra definition "ENABLE_ALL_PEAK_METERS=1" means?

                  Thanks again for your help!

                  All the best
                  Oli

                  ulrikU 1 Reply Last reply Reply Quote 0
                  • Oli UllmannO
                    Oli Ullmann @Christoph Hart
                    last edited by

                    @Christoph-Hart Hey Christoph, thanks for your tip. As Ulrik recommended, I just had to check the "Enable Sound Generators FX" box. Now it works. :-)

                    All the best
                    Oli

                    1 Reply Last reply Reply Quote 0
                    • ulrikU
                      ulrik @Oli Ullmann
                      last edited by

                      @Oli-Ullmann taken from a document someone here wrote (I can't find the post)

                      "Set this to 0 to deactivate peak collection for any other processor than the main synth chain"

                      Hise Develop branch
                      MacOs 15.3.1, Xcode 16.2
                      http://musikboden.se

                      Oli UllmannO 1 Reply Last reply Reply Quote 1
                      • NatanN
                        Natan
                        last edited by

                        Glad all sorted , @ulrik Thank you Legend for Amazing Knowledge share🙏

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

                          @ulrik alright, thank you again! :-)

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

                          24

                          Online

                          1.8k

                          Users

                          12.1k

                          Topics

                          105.7k

                          Posts