Forum

    • Register
    • Login
    • Search
    • Categories

    Modulator level broadcaster

    Feature Requests
    broadcaster listener
    3
    10
    101
    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.
    • d.healey
      d.healey last edited by

      It would be nice to have a broadcaster that listens to a modulator's value. That way I could make a knob on my UI move when a MID Controller or LFO's value changes.

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

      DanH 1 Reply Last reply Reply Quote 1
      • DanH
        DanH @d.healey last edited by DanH

        @d-healey I’ve been using a global cable in scriptnode to get an lfo level. Works very well except the cables disappear when reopening hise!

        https://forum.hise.audio/topic/7045/retrieve-value-from-scriptnode/7

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

          @DanH I don't see how this helps me 😛

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

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

            @d-healey well you can get the value of the modulator via scripting and move a knob on the ui. Unless I misunderstand your original post...

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

              @DanH I can go that already with getCurrentLevel(). What I'm asking for here is a broadcaster so I don't have to poll the value in a callback.

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

              Christoph Hart 1 Reply Last reply Reply Quote 2
              • Christoph Hart
                Christoph Hart @d.healey last edited by

                @d-healey I would have to poll it on the C++ side too and as long as you're polling on the UI thread there's not a huge performance hit.

                d.healey 1 Reply Last reply Reply Quote 1
                • d.healey
                  d.healey @Christoph Hart last edited by

                  @Christoph-Hart That makes sense.

                  So the situation I have is I want to take the value of a modulator (LFO or CC) and scale it using a table on the UI and pass the result to one of the macro parameters of a scriptnode effect.

                  The catch is I want one table per scriptnode parameter so I can't just use the modulator's single table.

                  Do you have a suggestion for the best way to achieve this?

                  Currently I'm polling the modulator, scaling the value with the table, and passing the value to the knob, but since this is in the UI thread it doesn't work when the plugin interface is not visible.

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

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

                    Is there a broadcaster that can listen to a modulator's intensity (not talking about LFOs) but things like CC modulators?

                    I tried attachToModuleParameter but best I can do is get the defaultValue knob's value.

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

                    Christoph Hart 1 Reply Last reply Reply Quote 0
                    • Christoph Hart
                      Christoph Hart @d.healey last edited by

                      @d-healey Intensity is not a parameter but a property of the modulator base class, but I think I can add a special case to it so you can use attachToModuleParameter() (like I'm already doing with "Bypassed").

                      d.healey 1 Reply Last reply Reply Quote 0
                      • d.healey
                        d.healey @Christoph Hart last edited by

                        @Christoph-Hart Yeah that would be great, thanks!

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

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

                        15
                        Online

                        1.1k
                        Users

                        6.8k
                        Topics

                        62.5k
                        Posts