Retrigger LFO with transport
-
What is the process for making an LFO module to retrigger with the TransportHandler transportChange callback?
And should I use the callback in the first place?Context:
I always want the LFO synced to the DAW (phase and BPM)Here's what I have so far, nothing fancy...
const var TH = Engine.createTransportHandler(); TH.setSyncMode(TH.InternalOnly); // <- stupid me, needed External... TH.setLinkBpmToSyncMode(true); //! Transport TH.setOnTransportChange(SyncNotification, transportChanged); inline function transportChanged(isPlaying) { } //! Beat TH.setOnBeatChange(SyncNotification, beatChanged); inline function beatChanged(beat, isNew) { // Sync here??? } //! Tempo TH.setOnTempoChange(SyncNotification, tempoChanged); inline function tempoChanged(BPM) { } -
@ustk
Can't you just enableTempoSyncandClockSyncin the LFO? It works for me with an FX plug-in. -
@Oli-Ullmann Arfffff.... Don't bother... the temperature here is just melting my brain...
I usedTH.InternalOnlyinstead ofTH.ExternalOnly, my eyes reading one thing and my brain another... It's my brain that is not in sync...