Cable table latency/sync issue.
-
I am not sure what is going on here but the Cable Table is not correct.
It is too early and this gap increases as I increase the buffer.I first encountered this with our CC output so I tested with audio.
This is a cable table , run with a clock_ramp, processing input audio via a gain module.
Exported as FX plugin - Tested in Reaper and as demonstrated its always too early.I will test with a "normal" modulator as well, but have not done so yet so I do not know if this is just a Scriptnode problem.
-
@lalalandsynth The "normal" modulator does not seem to have this problem with latency and buffer settings. But it has another problem, is seems to apply some smoothing or something even though the smoothing is set to zero.
Using a table modulator controlling gain.
With audio going through it always starts the envelope with a "bump" in sound and also seems to have built in decay ?
Why is this, does not make sense, unless this modulator is late ? Confused at this point.
-
@lalalandsynth Putting the Scriptnode into a frame2Block helps a LOT , now it is a bit late and varies with buffer size , but , better.
Any recommendations for getting this to sync perfectly ?
I dont understand the effect of these Frame blocks etc.What am I overlooking here ?
-
Can you post a snippet that reproduces this issue? I can't say what could cause this without looking at what you actually did, but I suspect there's something going on in the clock ramp (I've never used it myself apart from initial tests so chances are good there's something fishy in there).
- Try setting the
AddToSignal
parameter to true, then it will fill the audio buffer with the actual ramp signal. Then you can check whether the ramp signal is correct and the error is introduced in the cable wiring that comes after it. - try changing the UpdateMode from Synced to Continuous to check if one is better than the other. They define how to handle tempo changes (jump to the correct ramp position or maintain a steady signal) but also might introduce subtle timing issues.
- Try setting the
-
@Christoph-Hart Sure, will try this and post a snippet.
-
@Christoph-Hart
I tested exporting a plugin with a knob to set to change the update mode.
The "early"problem appears when set to Synced mode.
When set to continuous its better but a bit late.
Both of them contain a "bump" of audio at the start , see image.If I put the whole thing into a frame2 module it behaves like when set to continuous, for some reason? I did not test frame2 module and switching between continuous and synced.
I could not get Addto Signal to work in terms of getting audio from the ramp in Reaper?
CC Test - Synced is early , Continuous is late
Audio Test - Same thing, Synced is early , Continuous is late
Both contain that bump in the beginning. ( is there some sort of inbuilt de-click/slope on the Table ? If so could it be removed and set with a knob ?
Audio test snippet.
Sorry for the messy test snippet, want to keep it as is.
(Changes to the Scriptnode are not saved in the XML so if I change it, its permanent.)But its simplified in terms of Ramp going to the table, table to gain.
Clockramp_2 is running cable table_0
CableTable_0 to gain module.HiseSnippet 7279.3oc68zzbbibcXDEn3LhRjxRqich2JvrhsGsqL2AXFNeDmMZ3mxLKo3XNTZ85srovL.jDKw.LK.FRw0QtzAW4PpJU7Uea+Cjp7gbI2TkeAtpbIG27OXujyIuta7QiulAXFPJJIR6khn+30uu5W+5G59gVF5ckMM0MXxkeuy5KyjaV11moYczpGIpnwr4ZL4de1Uay0RcvgJZbk2mmaYIINKcNSkC0DUYV4r9hllxRL4xM0iPcIW9qyf+4ae3JhphZck8Jhg4o5Jck2RomhkWosZ9IJppaHJIumROpVWo4lc00VUWUe.fdSwVhouX2iEOT9whnlcMVlbSutjhktQaKQKYSlbWeEcoyZej9oZj1+TESkNpxnG3YZC.hT7F5pRHLFUJypGonJ0xgMXxvjiskGSYJBS4draqHo3VtGyYdbEbd8flej6Z9Quo7gd7znWIJzKBTJGEJccBJcG11cMT5a4UCBetI6lZVxFGHBrcZTgzVlq8GxyxwwspNzHMqE6Idr7FFvCtcpXikJ8.tk3qe+eVgBJZcUGHIWbgULzEk5JZBMZwuvbAnN2pVW6DYU89xbas7Fj5.36UcKCYSYKt1xpxcsTz0B181mpX08nVhZxplAqq0V5VtiHU46Jap7UxOYS61W.TRLs3NQzf6HkCOZeXD49XWR7PYqU060WWCdn3BNM.2O6N1STCZ+5Zf9sLp4ORUuin5t5CrTzNbaQMPgynHzdz.XppasuHzbnSXPKBxuhKfKV8.88EWftgchugcvX.pkp.acacInok9YzErsYmPkskSYtEthgk+VAEDpmPYd8r.d58hlVhFVn4aFEKsXoRH4MvxL0UkWrugBvqrLPpC5c9hEsP3dKcnv6Cs5i9neH2GG2Oba.rcXLr4lpfZCpjkMKtvus0t67Or9p6s+F6r0Zqu6KdhlxIxFlqps6gKZYcvBOfagUWcUDawtylNhBDDJ5TYgnEr6gvQ9EtOpWs0D6+TQ0AxlEKjO+mC+WdfDe.WoEEVB8a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y 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.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 -
@Christoph-Hart Ok, will try this.
- is this consistent between buffer settings ?
- Does this get rid of the starting bump ?
-
- Yes (at least for the part of the signal path that I've tested), not sure what you're doing afterwards
- The starting bump is created by the stock LFO module right? I was only referring to the clock_ramp node.
-
- Not doing too much afterwards and results were the same when I bypassed all that.
- 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. -
@lalalandsynth well the gain is smoothed so there‘s your source for the bump…
-
@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.
-
settable smoothing
There's literally a Smoothing parameter on the gain node :)
-
@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. -
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. -
@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
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)
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?
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.
As opposed to 16 buffer where it moves from 55 to 72 samples.
BTW: I did indeed have some smoothing on the gain module in my previous examples. ;)
-
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 ;) )