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.
    • 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

                            25

                            Online

                            1.8k

                            Users

                            12.0k

                            Topics

                            104.1k

                            Posts