HISE Logo Forum
    • Categories
    • Register
    • Login

    Global modulators on FX plugins - how?

    Scheduled Pinned Locked Moved General Questions
    32 Posts 6 Posters 1.9k 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.
    • Christoph HartC
      Christoph Hart @Christoph Hart
      last edited by Christoph Hart

      Alright, please pull, recompile and try now with this snippet:

      HiseSnippet 1025.3oc6X80aiTCD2No9TSAN3fSH.AR6i8DkpDtR4eOPnoMmhn+IkzqfDObxcWmFq50dwq2BQHdm23qDeDPhuH7M.FudytaZhRSCgqkSrOrJy3Yr+4Y9Mi8ltZkOKNVoQ3ZmLLhgvuLo2PoYPqATtD0YWD99jCnwFl1yoZmgQz3XV.Biq9DqBbsUPoO+4WrCUPk9rBUHzoJtOaedH2Tn0q4WwEh1z.1I7vRVuUyN9JYKkPk.3oJoNJh5eA8b1gTqYUHH781KfaT5dFpgEC1riJXXuApeP5r+TdL+LAyJz.0ClHmZTqAbQP2Q60XDBS5Vryq514Ojb.OfmquHB7ZoC3U3Q4X.txrfTia.jvkfzJNH8.ROeMOxTLhEOuDoiDRH8oPntLTb1hv+FokBLPZ1LjdAqsFDxcX8sqWeCO30i979IReCWI8TxCUF1Qx0ezZ+zZ0V6mWy6pC0u+TGytLZkPvzScXa1UOKGWWlDdFSug2kTQBK2PX6OdL8dyWL02sqKYnR1QxMGEwxjaqDA1Xk82SlAPYgM3WOsytTC0lTxzA1EwzFtEN3cYWBrZWJpFYWV7EFUDBMY9CXNpfDA0LNcxV2jM.DOFKGZSTxXtYX45pa.Gq97ywV0gw2k7Dg5LpvlsNkp4ToIGzo30Ky.OqEdYl3kaSiqG+OMlcBMEfVCtDhiNiSUlFnsE2PjVxRYHH7FiVy7kwylHf3FS23y1u8QkW+kVI37lAe.oK23OX5ovJSIDfPKsTHZxFWuBYu98gHWA.Wgz9aWztT2.FT1QFuNoqRLLZfRx8ayEPmlTPTi3DZLiyLPn1Z12mvj9EQqe4OZdbY1CDlKcHwa073Dp3JQ2c3QJAU+OMxeMMnWYNoGuIIeS48+k4+WtL2RVucRgyKFeaRF22yx4tai06SN91GfYkCuSFyq.li3coP88lEwbF8y98k+cfwU+2n+0yq67tbXNuwDoi3aq1oupClDBzcJKRck9TWKvxpXsiO4oenUaZYEcJHUM+0leC8RVekNL6Jm4yz9ryg0rrlSXgQJ3K37KS.6EpTlAb44iy0dXy8Upn8j11yAkmjtCnw1K8GyLkmlVIwFU3Hrj1LumgE45r+cjs2ZS3o+6ae+osfWO9nki7R7H7JyMgylTyyd1z6cvFpNTN1kMtChxYda4puPeaYzWqRLPc2ATil+iPWiCSB6Ac18YvpCWCR.SNAWwVa4jqakSKYYxfTg+BdxFrgUFmMXiQC9bYMBo9Z0y7ce1tsPZ0TMv9Vl9eyTibfU1qAJ8S4s8GquYcTHbFxy78sg3O.9h6o6yGt.973EvmsV.e9nEvmsW.e93EvmOYl9XO99KSf90tRNPQ28bcpw4c7wUQ+MjVBgwO
      
      T 1 Reply Last reply Reply Quote 2
      • T
        tomekslesicki @Christoph Hart
        last edited by

        @christoph-hart I just tried it and it works perfectly in HISE (thank you!) but not on a compiled plugin.

        T 1 Reply Last reply Reply Quote 0
        • T
          tomekslesicki @tomekslesicki
          last edited by

          bump bump

          T 1 Reply Last reply Reply Quote 0
          • T
            tomekslesicki @tomekslesicki
            last edited by

            @Christoph-Hart - in case you missed it among new posts

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @tomekslesicki
              last edited by

              @tomekslesicki Should work now.

              T 1 Reply Last reply Reply Quote 0
              • T
                tomekslesicki @Christoph Hart
                last edited by

                @Christoph-Hart hey Christoph, so I just had a chance to test it and still, it works great in HISE but doesn't on exported plugins. Could you please take another look at this? I'm on the latest Develop build.

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

                  @tomekslesicki works for me in compiled fx plugins, but the lfo speed on Windows has a bug I think

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

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

                    @DanH ok, my bad, I didn't have it enabled in the preferences, lol 😃

                    There's one bug, though - when oversampling is implemented with this call:

                    if(value)
                            Engine.setMinimumSampleRate(100000);
                        else
                            Engine.setMinimumSampleRate(40000);
                    

                    The LFO rate changes when not synced to host tempo @Christoph-Hart

                    T Dan KorneffD 2 Replies Last reply Reply Quote 0
                    • T
                      tomekslesicki @tomekslesicki
                      last edited by

                      @Christoph-Hart and just one more thing on the topic - the frequency isn't changed it HISE, it only happens in compiled plugins.

                      1 Reply Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff @tomekslesicki
                        last edited by

                        @tomekslesicki I get some strange stuff happening with oversampling this way. I have to use a script to toggle is on/off to get it working

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          tomekslesicki @Dan Korneff
                          last edited by

                          @dustbro I have this in a button callback. Do you have a better way you could share? :-)

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tomekslesicki @tomekslesicki
                            last edited by

                            @dustbro ?

                            Dan KorneffD 1 Reply Last reply Reply Quote 0
                            • Dan KorneffD
                              Dan Korneff @tomekslesicki
                              last edited by

                              @tomekslesicki I found that oversampling using the setMunimumSampleRate method needs to be "kickstarted" to work, so this is my workaround. I see a visual change in FFT display and EQ when OS is enabled, so that will probably affect other modules as well (like LFO)
                              This function just flip flops the OS state

                              const var osflipTimer = Engine.createTimerObject();
                              
                              osflipTimer.startTimer(250);
                              osflipTimer.setTimerCallback(function()
                              {
                                  Engine.setMinimumSampleRate(96000);
                                  Engine.setMinimumSampleRate(44100);
                                  OSinitial();
                              });
                              
                              
                              
                              inline function OSinitial()
                              {   
                                  local oscombo = OversamplingCombo.getValue() -1;
                                  OversamplingCombo.setValue((1-oscombo)+1);
                                      
                                  counter = counter + 1;
                                  
                                  if(counter>=2)
                                  {
                                      osflipTimer.stopTimer();
                                  }
                                  
                                  OversamplingCombo.changed();
                              };
                              

                              Dan Korneff - Producer / Mixer / Audio Nerd

                              1 Reply Last reply Reply Quote 0
                              • d.healeyD d.healey referenced this topic on
                              • First post
                                Last post

                              19

                              Online

                              1.8k

                              Users

                              12.0k

                              Topics

                              104.1k

                              Posts