Forum

    • Register
    • Login
    • Search
    • Categories

    Setting the link to a Global Modulator

    General Questions
    5
    18
    99
    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.
    • Lindon
      Lindon last edited by

      So I want to programmatically set the link to a global modulator.. so in my sound source I have a filter, and Attached to the filter Freq is a Global Time variant modulator, and I'd like to dynamically swap it, but I can only see options for "invert" and "use table" in the documentation...

      so this:

      9f05b604-6860-4f0e-b8cd-3a9c86bd52e1-image.png

      Please tell me this is possible ....it seems so obvious....clearly I'm missing something...

      HISE Development for hire.
      www.channelrobot.com

      d.healey ulrik 2 Replies Last reply Reply Quote 0
      • d.healey
        d.healey @Lindon last edited by

        @Lindon Not possible as far as I can see. How many mods do you want to switch between?

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

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

          @d-healey said in Setting the link to a Global Modulator:

          @Lindon Not possible as far as I can see. How many mods do you want to switch between?

          12....across 10 voices....

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon voices = samplers?

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

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

              @d-healey said in Setting the link to a Global Modulator:

              @Lindon voices = samplers?

              4 x samplers , 4 x synths, 2 x audio loop players...

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon I'll see if I can hack the source code to add this feature

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

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

                  @d-healey said in Setting the link to a Global Modulator:

                  @Lindon I'll see if I can hack the source code to add this feature

                  ..and I will for ever be grateful...... AGAIN

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon I've done it 🙂 I just need to tidy the code a little then I'll push it.

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

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

                      Here's the pull request. https://github.com/christophhart/HISE/pull/323. We'll have to wait for Christoph to let me know if this is acceptable.

                      I added two functions. connectToGlobalModulator(globalModulationContainerId, globalModulatorId); and getGlobalModulatorId(). The second function will return the id of the currently connected global modulation container and the id of the modulator itself.

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

                      1 Reply Last reply Reply Quote 2
                      • ulrik
                        ulrik @Lindon last edited by

                        @Lindon
                        David helped me with this long ago, watch this topic
                        https://forum.hise.audio/topic/5346/addconnection-globalmodulators-solved/7

                        Hise Develop branch
                        MacOs 12.4, Xcode 13.0
                        http://musikboden.se

                        Lindon 1 Reply Last reply Reply Quote 1
                        • Lindon
                          Lindon @ulrik last edited by

                          @ulrik - that's an interesting solution - but not what Im looking for, I'm looking of the ability to change the destination Global Modulator, not the TYPE of global modulator...but wiht luck David has it sorted...

                          HISE Development for hire.
                          www.channelrobot.com

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

                            @d-healey said in Setting the link to a Global Modulator:

                            @Lindon I've done it 🙂 I just need to tidy the code a little then I'll push it.

                            You're a star...👍

                            HISE Development for hire.
                            www.channelrobot.com

                            DanH 1 Reply Last reply Reply Quote 1
                            • DanH
                              DanH @Lindon last edited by

                              @Lindon why can you not have multiple Global TimeVariant modulators (routed to your different GMs) in your filter, and then switch them on and off as you need?

                              d.healey Lindon 2 Replies Last reply Reply Quote 0
                              • d.healey
                                d.healey @DanH last edited by

                                @DanH That's why I asked him how many global mods he'll be switching. It's too many to be practical but of course that is the usual solution.

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

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

                                  @DanH as David says - 10 "voices" and 12 modulators would mean setting up 120 modulator routing options - WAAAAY too many.

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @Lindon pushing this to the top of the pile so Christoph can see the pull request from Dave..

                                    Here's the pull request. https://github.com/christophhart/HISE/pull/323.

                                    HISE Development for hire.
                                    www.channelrobot.com

                                    Christoph Hart 1 Reply Last reply Reply Quote 1
                                    • Christoph Hart
                                      Christoph Hart @Lindon last edited by

                                      @Lindon It's merged now, but I've made a few modifications: it returns true if the connection can be established and if you call this method with an invalid target, it will throw a script error.

                                      It won't show up in the Autocomplete though until the next time I'll push something from my Windows machine (probably tomorrow).

                                      Lindon 1 Reply Last reply Reply Quote 3
                                      • Lindon
                                        Lindon @Christoph Hart last edited by

                                        @Christoph-Hart great!!

                                        HISE Development for hire.
                                        www.channelrobot.com

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

                                        33
                                        Online

                                        736
                                        Users

                                        5.4k
                                        Topics

                                        50.3k
                                        Posts