HISE Logo Forum
    • Categories
    • Register
    • Login

    CC output via Table - Output is too early in DAW

    Scheduled Pinned Locked Moved General Questions
    2 Posts 1 Posters 118 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.
    • lalalandsynthL
      lalalandsynth
      last edited by lalalandsynth

      So we are using the Scriptnode table to output CC, which seems to work fine so far.

      We are reading the Global Cable with a Synth.startTimer set to 8ms (for now)
      But there is a problem related to DAW buffer size.

      The larger the buffer , the more the CC output is early.
      Seems like there is a mismatch between reported latency and actual latency so I need a method to know the reported latency and delay the cc stream by that amount.

      128 buffer - 38ms
      38ms.png

      512 Buffer - 164ms
      512_164ms.png

      The plugin will throughput MIDI events so I tested MIDI notes on the plugin channel , then routing that to another channel and record .
      MIDI notes have no latency no matter the buffer but the CCoutput is affected - too early.
      no midi latency.png

      Any thoughts ?

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

      lalalandsynthL 1 Reply Last reply Reply Quote 0
      • lalalandsynthL
        lalalandsynth @lalalandsynth
        last edited by lalalandsynth

        @lalalandsynth is there a way to have the controller event delayed by the latency ?
        get.Latency and getBuffersize dont seem to work ?

        https://lalalandaudio.com/

        https://lalalandsynth.com/

        https://www.facebook.com/lalalandsynth

        https://www.facebook.com/lalalandsynth

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

        47

        Online

        1.7k

        Users

        11.7k

        Topics

        101.8k

        Posts