Global Modulator Delay in Scriptnode
-
@Christoph-Hart ok so additionally I began tweaking Audio settings in Logic and the process buffer range makes a big difference to the delay size... (but nothing get's it to zero).
Below I made 3 tracks of the 3 different sizes available:
Will test some other DAWs now
-
@Christoph-Hart ok tested on Ableton, BitWig and FL (Win + Mac) and it's all a little delayed. It's also different each time the filter moves, the sound, the waveshape created etc.
Is there anything else I can test?!
-
@DanH yeah you need to enable the clock sync module if you want it to be sample accurate. If you disable it, it will just react to a dummy note on message that is added to the MIDI buffer but that's a hack that I wrote 8 years ago and is not going to be accurate.
I'm trying to improve the accuracy when using the clock sync mode, there is already a system in place that allows sample accurate syncing but I haven't hooked up the LFO there yet.
-
@Christoph-Hart Right, sorry this is all WITH clock-sync mode engaged - I ran a test earlier to see what happens with it not engaged and it was better - but not the behaviour I want obviously... That was the only post without clock-sync, if that make sense.
Any timescale for hooking up the LFO?! :folded_hands_light_skin_tone:
-
@DanH I'm sitting on it right now.
-
@Christoph-Hart Thank you!
-
@DanH Alright I've pushed the fix for the clock synced LFO, please check if that helps.
I've also removed the sync by note-on hack so that the only way to sync the LFO is to actually enable Sync to Clock (I don't see a reason for keeping this around any longer).
-
@Christoph-Hart ok definitely tighter! It is still different on every oscillation however, but I compared it to a couple of Logic's modulators doing a similar thing and it's in the same ballpark so I'm far more comfortable using it now :)
I'd say it looks and sounds like it could still be a bit tighter, but I've no idea what's going on under the hood, and is much better than before.
Thank you! :folded_hands_light_skin_tone:
-
But hold on --- Lindon removes the smoo he put on the slider - and bingo all good...
When you remove the smoo how is the code supposed to look?
import("stdfaust.lib"); Q = hslider("Q",1,0.7072,25,0.01); normFreq = hslider("freq",0.1,0,1,0.001):si.smoo; process = ve.moogLadder(normFreq,Q) <:_:_;
-
@DanH
like this:import("stdfaust.lib"); Q = hslider("Q",1,0.7072,25,0.01); normFreq = hslider("freq",0.1,0,1,0.001); process = ve.moogLadder(normFreq,Q) <:_:_;
-
@Lindon Thanks :)
I'm still getting clicks when the filter snaps back after triggering notes. Is yours fixed you think?
-
@DanH You either get clicks because you're not smoothing or you get a delayed modulation because of the smoothing. Pick one.