HISE Logo Forum
    • Categories
    • Register
    • Login

    Turning on the Spectrum Analyser makes Reaper UI laggy

    Scheduled Pinned Locked Moved General Questions
    7 Posts 2 Posters 235 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.
    • M
      mehmethand
      last edited by

      Hi I working on a drum sampler plugin which has 16 samplers with EQ.I compiled the plugin and test it with reaper. I can see only selected sampler's EQ on the plugin screen by design. When I turn on the spectrum analysers of EQs, that makes peak meters of reaper laggy, playhead of reaper laggy like there is a heavy CPU load. When I check the performance meter of reaper I don't see a CPU jump or problem. When I turn off the spectrum analyzer, everything runs smooth and nice. I also test it with Ableton live. There is also a difference in Ableton live but not big as in Reaper.

      I don't know if it is related but I thought about OpenGL. Compiled the plugin by enabling or disabling using:

      Settings.setEnableOpenGL(false);
      

      I used

      HISE_USE_OPENGL_FOR_PLUGIN=0
      

      Those setting didn't help me .Is there a solution or advice for this problem?

      (Reaper, Live latest versions, Apple M1 Sonoma 14.4.1, Hise 4.0.0)

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

        @mehmethand you're on OSX I assume?

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

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

          @DanH Yes

          Reaper, Live latest versions, Apple M1 Sonoma 14.4.1, Hise 4.0.0)

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

            @mehmethand do you have a settings panel in your plugin where you can enable/disable OpenGL?

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

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

              @DanH said in Turning on the Spectrum Analyser makes Reaper UI laggy:

              @mehmethand do you have a settings panel in your plugin where you can enable/disable OpenGL?

              No I dont have it

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

                @mehmethand get a floating tile and set it to custom settings.

                Include

                HISE_USE_OPENGL_FOR_PLUGIN=1
                

                in your settings and then use the custom settings panel to toggle open gl on and off in your plugin and check if there's a difference.

                I get a similar lag on my machines even with Open GL on though.

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

                M 1 Reply Last reply Reply Quote 1
                • M
                  mehmethand @DanH
                  last edited by

                  @DanH Thank you DanH. I used a custom panel and changed openGL settings. as you suggested. disabling openGL from custom panel worked in my case. Now reaper is without lagginess when using spectrum analyzer.

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

                  52

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  101.9k

                  Posts