HISE Logo Forum
    • Categories
    • Register
    • Login

    Modulators question

    Scheduled Pinned Locked Moved General Questions
    modulator
    5 Posts 2 Posters 501 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.
    • jonhallurJ
      jonhallur
      last edited by jonhallur

      I have a very minimal test setup where I created an LFO and use a timer to fetch the value from that in the UI code to modulate a slider value.

      In the HISE UI the slider modulates from zero to one like expected.

      When I try to build anything, be it standalone, instrument, midi plugin or FX, the UI code only gets zero from the function that gets the value from the LFO like the LFO is not running.

      Am I misunderstanding something, do I need do anything from the UI code, or has the modulator been optimized out since it is not connected to anything but the UI ?

      HiseSnippet 1206.3oc4W0raaaDDdojYZjZUZCRNUfBP3Sx0tBjI9WXTXUKKYKDYKgRGmj1CAqIWYsvj6xrbohkCBPNz68woWK5SPeDZeBZuzK8R6rjRTzMx1JBvEonDBBZ9a2uc1uYFpNBtCILjKPZENbP.Ao8Q51CXxd05goLTycPZ2QeepKscj7PRnLDs8f.bXHwEookeWkOZElCE+76asM1CybHiUgPGwoNjVTepbr1NUeD0yqA1kbH0Oi2KWsoCmUi6wi.7jW2DEfcNEeB4.rxsb5HsaU2kJ4BaIVRBQZ5aycGX2i+RVh+GQCoG6QTBVHaXgRT2f64pPrRa69DQeJ4kY0gp0i541YTtHDAqbmwYl7IYl6GmHR0ONC8IwFLFGQ1bjVtKB44t.jsxBYyKAxS.dZYf2bIv6t51NBZfbrEE19P8lLIQzECWKYgUhunb+fldMN3ASVwGeJog.DRin75llKYrpo4BaZTpXohvsSnznOVXzpQaKiuzHlpT4DhbetajGFNlkmWYZ9E1Lq2OhwOV49ncBBnF2Ofy.gxyGaMNhRESVvPIVHUbCQYyJVKrYwtQLGIkyL3rC3RRaV4EJ9phEJ95hF+SSc6NQapsVv87fkbRlS1rEJU7UkJVPA49XuHB.Y0oIFuQBAf1Vj9DuxJrVHF1UBIxiTtVNNfXCImArqal8zZIC3S.VDRfrahyet0CVCTatvRFlp.ecoIg3xrH+iIhkRPTJ1gq8qpTv5xJEbRtBx3Hm0jQksCHrKisgFduo3cCQE3pLl0cmgrNaOpKQfn.45CziSMnX.Or513d+4usE5wM2AKwiVFXEgcIfHjT0APaGRenWQBYtf9NjvSk7fXeGRUfx+qcSOKscxarqNHU3GYUCkC7h6usGWPOG1erGJTRBromOBkU+0y+tsPucoETfOhemspW09anA3J6BkWpRHVHUNHa6wajVASKbuqdGpzo2jwatIfW3Z5lFuCarVRud2tDG4XvNmdimdy2EMKTtcBT9T8c83Gi8Fm.UDEJijzM8yFZ1H0tQpCVWwnwedZGMFL0iF0xO0YjIOJzbRyUl685wdSKW+du00T36d0Y9oCwWyv4ONAl55vfjXrcK0urtd3rMMf6gEJ6MDjWDQXNir+le5O9ksTbjlioXU+9pOA2mzkK7G1AMckZQNARAYYdGRfNpvXJmrJs84bYOJ6jKx7te0VbdPcFFN6tYW1N8vgpwsvDvrKSsnPI2eDVPZ00Wd8JW7oeaRyy2XC0O2nVr7f8bsWLic3qtKlwNxFZTGO6P6a0Wc4Jw1OdcV+0nG9vU3s2ePK6MZAJVYvt0kmkD+d0ktqQ29IsCZy6aRS1uAfB+10.ka7Tum4sJ8E6V+r1ei2yNZwJn2AJf0USAxM0LUfMXjR.TD12ymijf3TJ4+AP7UN4K++Om7807HITpuOVJnvqLoePjuMLZwg.HgwHdpWnTKmpbNQ1TIG2kfvbiE9K3YnQKkr1PiViL9uxd3icD7m6j7RopBuaGqAN2r3+yXA88UxFouMpttYESjOL354NNpz8W.4mIGyClgXd3LDyxyPLqLCwr5LDyZyPLqekwndmguJBFQjTJBJ5TOoytV5PFs7n+Fv1tRGk

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

        @jonhallur try adding

        ENABLE_ALL_PEAK_METERS=1
        

        in Extra Definitions in settings

        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
        https://dhplugins.com/ | https://dcbreaks.com/
        London, UK

        jonhallurJ 1 Reply Last reply Reply Quote 1
        • jonhallurJ
          jonhallur @DanH
          last edited by

          @DanH Thanks for the quick response. This sort of works, let me explain a little.

          The LFO I had was under the GlobalModulators in the HISE tree. For sanity I added another LFO under GainModulation which is a sibling of the MidiProcessor that is the parent of the interface midi processor I'm using.

          Using the Extra Definition settings you mentioned both these LFOs work under both standalone and VST Instrument. But only the Global one works for the audio FX plugin and neither of them work for the MIDI fx plugin (which is my use case).

          Standalone: Both
          VST Instrument: Both
          Audio FX: Only Global
          MIDI FX: Neither

          HiseSnippet 1301.3oc6X07aaTDEeV6rkZCtPE8DRHsJmbnAq0NeqJTLwwNwpNYMX2zT5gpI6NNdTVOy1cmcabppDG3N+uveAHN2CbmK.+EvENCuYW+w5zMItFRATYkkkm2Gy7adu489Mqa5xMIddbWjRl18cHHk2SsUelnaktXJCUeajxsT2iZQM7EsIdBOzV8cvddDKjhR5cj1njYNT3yus4VXaLyjLVDBc.mZRZP6QEik1r78o110vVj1zdwrd4x0M4rJbatOfmzp5HGr4I3iI6iklkREobipVTA2sk.KHdHE0s3V8a0k+LVj8GP8nGYSjCJhZASTj3ZbaKIhkRMBHtATxyFKSGgpzkZa0bXrvCAybywQlzQQl6DFHFIebD5CBUnM1i3wHkTSB44l.xEiCY8K.xI.OkXvatH3ca0VltTGwXMRr8tp0YBhaGLjVhCqHaQo9hTpU3fELQgd3SH0bgAi7H+555Kpspt9B2SKW1bYgrimPK.6p0nlQQsOSK7nRgiIh83V91XXaledop4W3dSZboK13Rfwwm56y3GIm6gvBbnBumCmACxOen1D7nzk5gbMxBafHH3IvtB4QO275EJBZ53yLETNSiy1mKHFr7Kj84Yyj8EY0NupNcRTmboc411vTlj5nEagbYedtrYjPN.a6S.HKCVg3020EPaCR.wNOfngFUJxlRIXCLSgAiBdDwAxoKe3jJcNbKOg7Rg1Gs8wVVwfawE0fONXWOBj2iliOoXo0.w5KrnltzwWjKoMadleuiHtKFsYFssgCjWVQZwKpH0LJ6EyPNqNiJLbHrKpN.MHkCUDoFfJvTQX8vsFTOzxlZQbQT3X+6nFFwPg.dXemMO7W2DM0NWZRme7O8cahdP8swBrrpb.b.H5PbET4tWYaR.zBLpFMi51DuSDbmP7N3HJzU6JQ7oi6R1tb+QCJyK6I5aG11dWtK8LX8w1HOAwoE8rgnr7ub12H2hS85U5UVOUkxJHzTuVuZ2InG4vp93MNkLHCT.mslnCkrKDyiJ5Gmg45ua5shvqpJT1EBxaH+UoqFZ0bIO0mvLGJ76e4KAg.IW8wbjk+1xODGP5vc6M3.wH2aPNFBNwkzl.ILnj0LNeZqdbtnKkc7jTm2obCN2oJCCadq3SRytXOYWKnYP7oohumf2aHVB4VaAIxvywJOVc0kK.Octq76Mp.esjweOiQmOAld5ZNjPRK0TdH6Ck4OsQoLMvj+gNmgdsP7nyS+G.w2VsIUX1M4J4TIfWD5ZGuCt0VN0pc5PLEiA6bp0N75+JZwgxMifxGotiM+Hr83.nrEJkQhtp1GOPs1H8ZiLn3kbu6ebZu2syTeuakzyDEd76TOk2ydt+UeO6ouh87oNuW+J1zSGhuB9q2OQ9qhWMb1h5vswtR8mmJ6q+ge+m+KPkA2g3MHUVU0kWuvjOAFj5mswFiXiBL5uqUq6FS+jrUAFIxFdz5rf0nsWZEtwd8azZiFffU5uSUwoQ9uaUg0ZzsdngiAOPmFsd8AA8Lp.B23P6GYuJ8o6T8Tiux9QG7+rguMxFl9sS1vuj6KfR88vBWJ7xEp662qEP2XR.jvXDaIIiRJY4bzXc43vtDDlU3f+.dFnrnbrx.kEGp7MxZzCa5xehYzqKJK7tYnDXeyB+Spxntmbr1nWxTUUufNpGPb8DSSY39Sg3Sx9TZF7YoYvmkmAeVYF7Y0Yvm0lAeV+R8QdmgO2GnHhJEAAMqF0YWYDIiRZzeJvEchF

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

            @jonhallur Audio FX is working here, although I haven't tested on latest develop branch.

            I've never made a midi fx plugin but I think there are several issues with them as @ulrik has just researched and this could be another of them.

            Good luck!

            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
            https://dhplugins.com/ | https://dcbreaks.com/
            London, UK

            jonhallurJ 1 Reply Last reply Reply Quote 0
            • jonhallurJ
              jonhallur @DanH
              last edited by

              For future reference, there is a way to do this, explained in this thread

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

              57

              Online

              1.7k

              Users

              11.7k

              Topics

              101.8k

              Posts