HISE FX and delay compensation
-
@Christoph-Hart said in HISE FX and delay compensation:
@resonant Call this function instead of Console.print in the callback and hope that every DAW supports dynamic changing of the latency.
I understand, I hope it works correctly in every DAW.
I've never tried it before, but my approach for dynamic delay compensation is to set it to the highest stable delay compensation value and try to compensate with a delay node at lower delay values while the oversampling value changes.
-
@Christoph-Hart is this broadcaster supposed to fire when audio is converted to a different sample rate during bounce? I'm testing in Ableton and Reaper so far, and in both DAWs, rendering to a lower sample rate is triggering the broadcaster.
-
@tomekslesicki Perhaps you can use the transport handler
isNonRealtime
function to control the behaviour?HISE | Scripting | TransportHandler
A class that manages callbacks for host playback events
(docs.hise.audio)
-
Of course it is triggering the callback, why shouldn‘t it do it?
-
@Christoph-Hart because if I remember it correctly, what's actually happening is the DAW bounces the file at the currently set (preferences) sample rate, and then converts the result to the target?
-
@tomekslesicki but then the DAW tells the plugin a wrong information, which I'm pretty sure would cause issues with all plugins.
I'm just forwarding the call with the specs provided by the DAW and it shouldn't be the plugin's responsibility to care about whether it's an offline bounce and the DAW might be giving you the wrong information.