Sync to DAW tempo for VST export

John Goldsmith's icon

Hi,

I feel like I am missing something here, but I have tried exporting a drum sequencer to VST that syncs to the temp of the DAW. I have tried using the metro object with @lock set to 1 but it does not sync. I can get it to work with selectable tempo in the device, but can't seem to lock it to the DAWs transport. Is this possible using the default VST/AU out or would I need to export the code to JUCE and use that to handle the sync?

Apologies if I missed something very obvious in the tutorials. The ones I have been using are https://rnbo.cycling74.com/learn/sync-in-rnbo and https://rnbo.cycling74.com/learn/midi-sequencer

Below is how I have it configured.

Alex Norman's icon

Hi John,
We don't have transport sync implemented for the plugin exports (yet).. I'll create a ticket for this.

John Goldsmith's icon

Thanks! I will work on getting it working in JUCE for now. Very interested in the feature.

Alex Norman's icon

I actually just got it working, it is in the next release candidate for RNBO 1.0.2

John Goldsmith's icon

oh...damn...

nouserid's icon

I'd really like to have this feature too please!

David Alexander's icon

Hi Alex, was this ever implemented in a release version? I'm trying to sync the RNBO transport to the plugin host but not having much luck.

Alex Norman's icon

It should work from our juce adapter if the host supports it.. we've had support in there for a while: https://github.com/Cycling74/rnbo.adapter.juce/blob/a433e6906a8a9bfe5ecc99937c9cb647e096db0d/RNBO_JuceAudioProcessor.cpp#L478-L513

can you share a patch that doesn't work? Here is a really basic one that I test with

Max Patch
Copy patch and select New From Clipboard in Max.
David Alexander's icon

Ah, thanks Alex! :) I was missing the 'preProcess' in my 'processBlock', all working now!