HISE Logo Forum
    • Categories
    • Register
    • Login

    Trying to get a slider animation to follow the LFO mod

    Scheduled Pinned Locked Moved General Questions
    20 Posts 7 Posters 1.5k 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.
    • SteveRiggsS
      SteveRiggs
      last edited by

      Bump Bump :)

      www.anarchyaudioworx.com

      www.facebook.com/groups/audioworx/

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

        @SteveRiggs the reference to the LFOMod seems to be wrong, if you want it declared as "generic script"

        const var LFOModulator1 = Synth.getModulator("LFOModulator1");
        

        or as Typed table script

        const var LFOModulator1 = Synth.getTableProcessor("LFOModulator1");
        

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

        SteveRiggsS 1 Reply Last reply Reply Quote 1
        • toxonicT
          toxonic
          last edited by toxonic

          I don't know, if i got you right, but i think you need "LFOModulator1.getCurrentLevel()" to modulate the slider.

          HiseSnippet 1239.3oc0XEraaaDDcor2Fa0pzjzdnGIL5AEjTEpZG2XTTDEKaYHDYKgRGmVzCoqHWIs0j6RStRNJAAHG5g9YTzuf7ITf9Izuf7GzK8b6rKonHcUrMThKh4ABM6Nyruc12NyP0IT3PihDgHik2eb.EY7QX6wb4f5CHLNp4VHiOGuOMRZ1PDZto2PpYKFGd0nsosGykFZ9.NyGs43.RTD0EYXrvNJKMVdQj94ut+lDOB2gNcHD5.Ayg1h4yjSGsSsGx77ZPbo6y7yn8Z0Z5H30Edhg.JW.agBHNGR5S2inTq.FY7Aa6xjhPaIQRiPFKtovcr8.ww7X8OfEw55QUBUQ1fihGtgvyUgX0nn5CXdtclDMhPfW5LM1rPbr4Sw6xbYoiOMFcM8DlSsHa7vnvoAupYgm04GdFYf2hwv65XamPVfb5LJr8g3lbIMrGANBxBqXcQE9aCbcAnAWVwmbHsQHHjZQ40srts4csrt4W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v2D+DGGUGHeADelsMe4bXypygMqMG1b24vl0mCa9p4vl6cp1n96HdvPnPXL+GFny1w0qLRKkZr.5eAte.LL�
          
          C 1 Reply Last reply Reply Quote 1
          • SteveRiggsS
            SteveRiggs @ulrik
            last edited by

            @ulrik @toxonic Spot on fellas! Thank you. That makes much more sense now.

            :) Nice one

            www.anarchyaudioworx.com

            www.facebook.com/groups/audioworx/

            1 Reply Last reply Reply Quote 0
            • C
              crd @toxonic
              last edited by

              Does this snippet export correctly for anyone using the latest develop build?

              It looks correct within hise interface preview but the animation of the knob does not work for me when I export the project as a vsti or standalone. Is this a bug or am I missing something?

              DanHD 1 Reply Last reply Reply Quote 0
              • DanHD
                DanH @SteveRiggs
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • DanHD
                  DanH @crd
                  last edited by

                  @crd works fine here

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    crd @DanH
                    last edited by crd

                    @DanH Did you try and export it?

                    I think Engine.createTimerObject() works for gui elements in the interface preview but not on an exported plugin.

                    I think using an empty panel's timer is the right approach. I'm exporting that attempt now to see if that works.

                    ulrikU DanHD 2 Replies Last reply Reply Quote 0
                    • ulrikU
                      ulrik @crd
                      last edited by

                      @crd In hise it works fine, but compiled as a standalone it's not working

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

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        crd @ulrik
                        last edited by

                        @ulrik
                        Thanks... I'm not going nuts :)

                        maybe it is a getCurrentLevel() issue. Using a panel timer in the above scenario doesn't work either. (It'd be easier to trouble shoot if I didn't have to wait to export to see if what I've done helps.)

                        LindonL 1 Reply Last reply Reply Quote 0
                        • C
                          crd
                          last edited by

                          I think it must be an issue with getCurrentLevel. The snippet below should export okay but doesn't. It does work fine in the Hise interface preview though.

                          @Christoph-Hart Am I missing something?

                          HiseSnippet 1325.3oc2X0saaTDEd13LPsKIhVBkBWsJhKbDkHGRZ.TEJahSbTTyONYcaQhKJS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+8JEklN39RtJR4AXzkED5S2gCkMA8YCFuMHH2gD6qFzadR9ABtHrmfy7xx.NgpjrtcoxrXeranMUJn99ndVv4DpOkjkM+wN6CrPhDhSzBFKVY5iESJecWbBbs0mLseyPguzaPJ7E7l3oz+aiaJ76mPlav7gKSa.TYbRiIItiPZQxXJ2aPT74g69SNGmkBjm9dWmiiI9WHpuEKT3SjSUFo3r8YmRZycvC2Tup35ELgkVSFigK9mJjl+wDubPdw70u76U+HGcQ28FkVc9YGc88NBYP5kSGZ99ztfix1SKJbIS39A4zAcCDBUOFua9R4K3ruPDtCm.gg1YWjl8.kO3AEvKaxUfNNRIBFfEyymcUzPycps9F75qsL7qymn+6WVG9ypGc0z9JjzMyTR5dOSlbXJSmSulqtlf3bGUt1WOPqd85S8qODmJLZhxu9f64wGeM.rmHhUfBzAD3JYviawGFG3BOgviB.kCOcV+IDrlQqxjztltcxaH3sMM9S3W5fqnaakN3JCF7+DeDP7jhm5k7YHzRJ2vzCru4luoXY7A511C+9CXbskqgBf69+TOO8EK9TH9Lda9rBXypEvl0JfM2u.1rdAr4yKfMewDsQ+rqMigJWI7enil6jTyxZXsOqRn+BrQnEHD
                          
                          NatanN 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @crd
                            last edited by

                            @crd said in Trying to get a slider animation to follow the LFO mod:

                            @ulrik
                            Thanks... I'm not going nuts :)

                            maybe it is a getCurrentLevel() issue. Using a panel timer in the above scenario doesn't work either. (It'd be easier to trouble shoot if I didn't have to wait to export to see if what I've done helps.)

                            -- remember when using panel timers, they are suspended when you hide your plugin in the DAW...

                            HISE Development for hire.
                            www.channelrobot.com

                            1 Reply Last reply Reply Quote 0
                            • DanHD
                              DanH @crd
                              last edited by

                              @crd standalone worked fine

                              1 Reply Last reply Reply Quote 0
                              • NatanN
                                Natan @crd
                                last edited by

                                @crd said in Trying to get a slider animation to follow the LFO mod:

                                pet below should export okay but doesn't. It does work fine in the Hise interface preview though.

                                ENABLE_ALL_PEAK_METERS=1 My Friend
                                ENABLE_ALL_PEAK_METERS=1 My Friend :)

                                ulrikU DanHD C 3 Replies Last reply Reply Quote 4
                                • ulrikU
                                  ulrik @Natan
                                  last edited by

                                  @Natan said in Trying to get a slider animation to follow the LFO mod:

                                  ENABLE_ALL_PEAK_METERS=1

                                  Yes, this will make it work! :)

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

                                  1 Reply Last reply Reply Quote 2
                                  • DanHD
                                    DanH @Natan
                                    last edited by

                                    @Natan well done, I forgot I already had these enabled 😆

                                    NatanN 1 Reply Last reply Reply Quote 1
                                    • C
                                      crd @Natan
                                      last edited by

                                      @Natan said in Trying to get a slider animation to follow the LFO mod:

                                      ENABLE_ALL_PEAK_METERS=1

                                      That was it. Thank you!

                                      1 Reply Last reply Reply Quote 2
                                      • NatanN
                                        Natan
                                        last edited by

                                        @crd Glad To Help :)

                                        1 Reply Last reply Reply Quote 0
                                        • NatanN
                                          Natan @DanH
                                          last edited by

                                          @DanH Haha, This Happens To Me Quite Often :) 😆
                                          So I Stored This On My Mind
                                          It's A Meter >>> Enable That Friend = 1 😆

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

                                          14

                                          Online

                                          1.7k

                                          Users

                                          11.9k

                                          Topics

                                          103.5k

                                          Posts