HISE Logo Forum
    • Categories
    • Register
    • Login

    Setting the link to a Global Modulator

    Scheduled Pinned Locked Moved General Questions
    21 Posts 5 Posters 1.0k 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.
    • LindonL
      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.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          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.healeyD 1 Reply Last reply Reply Quote 1
          • d.healeyD
            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

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              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.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                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

                LindonL 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  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
                  • ulrikU
                    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 15.3.1, Xcode 16.2
                    http://musikboden.se

                    LindonL 1 Reply Last reply Reply Quote 1
                    • LindonL
                      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
                      • LindonL
                        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

                        DanHD 1 Reply Last reply Reply Quote 1
                        • DanHD
                          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?

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

                          d.healeyD LindonL 2 Replies Last reply Reply Quote 0
                          • d.healeyD
                            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
                            • LindonL
                              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

                              LindonL 1 Reply Last reply Reply Quote 0
                              • LindonL
                                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 HartC 1 Reply Last reply Reply Quote 1
                                • Christoph HartC
                                  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).

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

                                    @Christoph-Hart great!!

                                    HISE Development for hire.
                                    www.channelrobot.com

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

                                      @Lindon - OK trying to implement this now, and the call is confusing me.

                                      Lets say have a Global modulator called "GlobalLFO1", in a GlobalModulatorContainer called "Global Modulator Container1"

                                      and a modulator in a filter on a synth called "FilterLFO1".....

                                      it seems I must make the call on the modulator so:

                                      FilterLFO1.connectToGlobalModulator(String globalModulationContainerId, String modulatorId)
                                      

                                      ..so what goes in the string globalModulationContainerId???
                                      .. what goes in the string modualorId ???

                                      I've tried this and it doesn't work..

                                      const var GlobalModulatorContainer1 = Synth.getChildSynth("Global Modulator Container1");
                                      const var GlobalLFO1 = Synth.getModulator("GlobalLFO1");
                                      const var FilterLFO1 = Synth.getModulator("FilterLFO1");
                                      FilterLFO1.connectToGlobalModulator(GlobalModulatorContainer1,GlobalLFO1);
                                      

                                      I've even tried (which seems a bit silly..):

                                      const var GlobalModulatorContainer1 = Synth.getChildSynth("Global Modulator Container1");
                                      const var GlobalLFO1 = Synth.getModulator("GlobalLFO1");
                                      const var FilterLFO1 = Synth.getModulator("FilterLFO1");
                                      GlobalLFO1.connectToGlobalModulator(GlobalModulatorContainer1,FilterLFO1);
                                      

                                      HISE Development for hire.
                                      www.channelrobot.com

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

                                        The parameters are Strings.

                                        HiseSnippet 1351.3oc6Y0sahbCEdFfoJv1FsaaTUUUqznndAQMEAYSS+SUKIjPDpgDTfMsR8hUNCFvJdrm5wS5hp1K608AnuT8QYeCZO1y.3IgPXoIYiVEt.gO1G6Oe9+XZI3d3vPtvxNemgAXK622o8PlbPsAHBypwtV1K6zmxOEQax6Vm7RqcFFfBCwcsrsytuZM14yYo+75msChhXd3IjrrNgS7vGP7IxITaU8mHTZcTWbGhuwp2rZCONqFmxi.7j0orU.x6LTe7gH0xx3XY+d60kH4h1RjDGZYmaGd2gsGv+cV75OgDRNkhUCpX0F1nXx04ztJDqnZUa.g1s0n6cnEroslHExFKEVwoIoKYL8IRiGqmvcBGlxC6LogW1TvqhI7Ja.uo.IaCHkKFROwosmfDHmLiBOOxoAShE8PfX2DJwq0JyelwoFGVASVxGcFtt.FLlihaUt75tvWq8CEJ.h9Po64Hg69Z8sR2bBRPPLIn5inH3hUw8Gc0lGk5imPs3pwb3pXwMgG2ILspZ6ILJggc6Ew7jDNyky1IRJ4rJJ3I3zhdb+.NC.55.HnQ30J7GExS54VLYT97y.Wk.zyvdxN78GYrdArMlhq5.A0IF.15tqdP8it.Tyiog36jiaC0w8JP3LREAR0ZiDCEWMQ.s5ZkBUz0hoZHJ8Tvqn3EkeJYrgv8PtDeDqnVHV3UEbu3T85M04R1LJVL0oUBCwrXrHKx+TrvTEpVHXDm1yv4p8LLcb8hkKFKjyZvHxiBvrqxc1JQXB+54M1EIQJ2oDZv5BvBIQAA6cwmCwlhctx6rKN7LIOPu1DM..Sod1kSb8hk3VjtJFRD+VuDVl8eCm1P0O1E9QH5bbCVKAFTaJeQqK6LCgQFYDXFaQEPMYBPrlxgV4zxBIxglAbuwB3LuP7INsHRuASGiYlBFAg+sAFSBS+AN60qG3GNAf4bp+K2NwjMO9khO9O04Bt+i800X4yclQvfYjH8el2DoAychT6ryJwYkELwYt6cINmW63O5Rplv6PuM6LFv7wwvzwARMjHoRmS55A1Nj.NEITyWWf+sHLyyX9kpprPZLw.q5eU8mgPT83B+jnei2oCv8gyzjRGLDMDx46YZL11mykCHr9os6Vo5AbdvdLDHE5ZtIsFfBU4bzADM1FXa6vahBg5QpQ4dmYNYsnPI2eDP0k+0VhCzQzs+Ums1rD7o2Wp996pAe8zitYF+lDvpx7qlms0nRiOV0pz82Ci8GixwFXuEQ404xrwCtLO3x7fKyMRQcYe2tnti4QRvorIRJHpJ4OLxuMT0jGFNcnEOppWE6LJeq3wkUi0NhXVW8f+E9jLYE0X6jIqLZRyq3xwWwG4zFJBT2Is9B9w5wtJOW28wP4gWNw+sdIhG4Igiui.wBC3go131XeRGnknPShOODqLrOVYwjJHDGIl5Tu9Y0gK4T4oMRFIzlda6yiXoh3sfktltUJi0+NUcruEaYLUn57ivXahe.EuG6bLEZ0ViwOD5stGJhJGQMsgcSNiGLfyHoRWdLFbH62GKLw9TuPaKkHyzfqT8XLEiLsf+hpG.VdHAHmvKnrnxa760MU80m3DC23mJ6+idK27o2lcGbSom1Oy4pe2K8Uv0Y1u120eUfHGcPZrpVv4XgLdwZhwEq.UtTK9I1TBG60mUmze+Ep86FSq9P9y6G4OuKNCejmf+Bu3WwT4QujlBbuY5+7g7NMUicqXoeYSUyGkKU1xGxE7BOOkH9q.GroyyFK.OOcA3YyEfmudA3YqEfmuYA34amIOpzvaGA86D6xADZsWbvC6wsSYm05+.hBHP1A
                                        

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

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

                                          @d-healey Okay thanks.

                                          HISE Development for hire.
                                          www.channelrobot.com

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

                                          31

                                          Online

                                          1.8k

                                          Users

                                          12.0k

                                          Topics

                                          104.1k

                                          Posts