HISE Logo Forum
    • Categories
    • Register
    • Login

    Plotter Oscilloscope Optimization

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 387 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
      theovintagesynth
      last edited by theovintagesynth

      Hi everybody, I achieved to use a Floating Tile plotter as an oscilloscope showing me the modulation of a HardcodedFX. Everything seems to be fine in HISE, but when I compile and try it in my DAW, the UI is very laggy. I supposed it comes from this plotter, because the .vst is enough smooth if i compile it without the Plotter. Is there something to do to improve calculation and CPU usage for this, like creating a downsampling buffer for my HardcodedFX or refreshing the Plotter less often ? I'll explore any clue from you, and would be happy to provide you more informations if needed.

      Thanks a lot

      HISEnbergH 1 Reply Last reply Reply Quote 0
      • HISEnbergH
        HISEnberg @theovintagesynth
        last edited by HISEnberg

        @theovintagesynth there exists some issues with the analyzers and how they operate in the DAW. I've posted a lot about this topic, the best answer I can give you is resize the display buffer so it is a bit smaller. This will definitely increase performance. The script here can be adapted to apply to the oscilloscope:

        Link Preview Image
        FFT Analyser Path - Need help drawing the magnitude to height

        I made some progress towards solving the UI lag from the FFT. @Consint & @oskarsh @Oli-Ullmann this may be of some interest to you. Basically I found that if...

        favicon

        Forum (forum.hise.audio)

        After that, there are a lot of smaller improvements you can try (reduce drawing points, slower timers, etc.) which can help reduce CPU usage. I've talked about them before here (specifically about the oscilloscope):

        Link Preview Image
        Oscilloscope Script

        @HISEnberg siiick

        favicon

        Forum (forum.hise.audio)

        1 Reply Last reply Reply Quote 0
        • T
          theovintagesynth
          last edited by

          Thanks a lot for your answer. Very helpful to explore your code and try some stuff.

          I dug a bit through those topics that you sent. There are very interesting as well, they all use a different way than me. I'm using a Floating Tile plotter and not a Script Panel. So, it's probably a dumb question but are every parameters (resizing display buffer, timer etc...) available only in a Script Panel ?

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

          31

          Online

          2.0k

          Users

          12.6k

          Topics

          109.5k

          Posts