HISE Logo Forum
    • Categories
    • Register
    • Login

    Possible to cap Samplerate to 4096 only? (Analyser & Parametric Eq)

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 194 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.
    • GabG
      Gab
      last edited by

      When using the Display filter option it seems to cause heavy lags and same thing with analyser on 8192 Samples, when I put it on 4096 samples it work fine but somehow always revert back to 8192.

      Any idea on how to fix this issue?

      Thanks!

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

        @Gab The properties for the FFT analyzer & other display elements are not persistent in itself, so you need to restore them using the scripting API:

        This should set the FFT size of the EQ to a ridiculously low 2048 samples:

        const var dp = Synth.getDisplayBufferSource("Parametriq EQ1");
        
        const var dp0 = dp.getDisplayBuffer(0);
        
        dp0.setRingBufferProperties({
          "BufferLength": 2048
        });
        
        GabG 1 Reply Last reply Reply Quote 1
        • GabG
          Gab @Christoph Hart
          last edited by

          @Christoph-Hart Thanks!!

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

          16

          Online

          1.7k

          Users

          11.9k

          Topics

          103.7k

          Posts