HISE Logo Forum
    • Categories
    • Register
    • Login

    Cable table latency/sync issue.

    Scheduled Pinned Locked Moved Bug Reports
    17 Posts 2 Posters 564 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.
    • Christoph HartC
      Christoph Hart @lalalandsynth
      last edited by

      I've looked a bit at the clock_ramp code an there is a slight inaccuracy where it takes the last ramp value when trying to figure out the modulation value, so I changed it to use the mid value.

      But the modulation inaccuracy is defined by the block size of the processing context - every block a single value is sent out and this introduces some inaccuracy within the block processing size - that's how scriptnode works and it's your responsibility to choose a block size that matches your requirements.

      If you choose the lowest available block size with a fix8_block the modulation with the latest fix becomes pretty much sample-perfect.

      06c0dfd5-e8bd-472e-aa9f-6d6bb3b83500-image.png

      And yes I've slapped a cable_table between the clock ramp and the add node so there's definitely no issue with this particular node

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

        @Christoph-Hart Ok, will try this.

        1. is this consistent between buffer settings ?
        2. Does this get rid of the starting bump ?

        https://lalalandaudio.com/

        https://lalalandsynth.com/

        https://www.facebook.com/lalalandsynth

        https://www.facebook.com/lalalandsynth

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

          1. Yes (at least for the part of the signal path that I've tested), not sure what you're doing afterwards
          2. The starting bump is created by the stock LFO module right? I was only referring to the clock_ramp node.
          lalalandsynthL 1 Reply Last reply Reply Quote 0
          • lalalandsynthL
            lalalandsynth @Christoph Hart
            last edited by

            @Christoph-Hart

            1. Not doing too much afterwards and results were the same when I bypassed all that.
            2. Starting bump was also caused by the Scriptnode, although I will test it again.

            Is your testing done via the add to signal from the clockramp or is it audio through a gain module ?
            My test was Audio on a track in reaper through Hise plugin exported as FX.
            Scriptnode table controlling a gain module.

            https://lalalandaudio.com/

            https://lalalandsynth.com/

            https://www.facebook.com/lalalandsynth

            https://www.facebook.com/lalalandsynth

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

              @lalalandsynth well the gain is smoothed so there‘s your source for the bump…

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

                @Christoph-Hart I see, that will not cause a problem for me in this case as I am using this for cc output , no bump there.

                Although if used for "sidechain" style volume, or as a send envelope into an fx this would cause a problem. Is there a way to get the table to operate on gain without any smoothing , or at least with settable smoothing, don´t need that much to get rid of clicks.

                Also a bit strange that the "tail" shows up in the beginning, It would make sense when it loops.

                https://lalalandaudio.com/

                https://lalalandsynth.com/

                https://www.facebook.com/lalalandsynth

                https://www.facebook.com/lalalandsynth

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

                  settable smoothing

                  There's literally a Smoothing parameter on the gain node :)

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

                    @Christoph-Hart Indeed , but it was set for no smoothing.
                    Unless I messed up my test? I will check when I get back to the studio.

                    https://lalalandaudio.com/

                    https://lalalandsynth.com/

                    https://www.facebook.com/lalalandsynth

                    https://www.facebook.com/lalalandsynth

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

                      If you get away with it I would recommend using the math.mul node instead of the gain node, it's a bit faster and doesn't require a db->linear value conversion on each modulation update.

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

                        @Christoph-Hart There are still some problems.

                        Latest build.
                        Testing with 8 block, buffer set to 128 there are differences between Synced and Continuous.
                        Synced is earlier , 3.1 ms
                        Offset.png

                        There is also a lot of jitter on both.

                        Here is a demonstration of synced jitter. (recorded in a loop in reaper, switching between takes)
                        Jitter Synced.gif

                        Here is a demonstration of Continuous jitter. (recorded in a loop in reaper, switching between takes) Maybe its not jitter as it seems to be earlier and earlier rather then just moving about?
                        Jitter Continuous.gif

                        It also looks like the "Jitter" or "earlyness" is worse with a higher buffer.
                        512 Buffer and it jumps from 127 samples to 433 in the next take.
                        Jitter Buffer.gif

                        As opposed to 16 buffer where it moves from 55 to 72 samples.
                        16 buffer.gif

                        BTW: I did indeed have some smoothing on the gain module in my previous examples. ;)

                        https://lalalandaudio.com/

                        https://lalalandsynth.com/

                        https://www.facebook.com/lalalandsynth

                        https://www.facebook.com/lalalandsynth

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

                          Here is my setup , basically for this test though I am just sending a clock ramp to a cable table and from there to a gain module (no smoothing this time ;) )
                          6f8ad3d6-859c-4678-a6ed-88b487f380bd-image.png

                          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

                          11

                          Online

                          1.7k

                          Users

                          11.9k

                          Topics

                          103.2k

                          Posts