Analog audio from pattern change triggered by Overbridge midi notes is a 11.5 milliseconds early

Hi,

I’ve been setting up my Analog 4 MK2 and I am using OverBridge to trigger pattern changes using midi notes in Cubase. My interface is an RME HDSPe AIO, both the RME and Overbridge plugin are set to 64 samples and I’m using a sample rate of 48K:

In this image the top track is analog audio and the bottom is audio recorded via Overbridge’s main output.

For some reason the analog audio which goes through some hardware is a milliseconds early whilst the audio from OverBridge is pretty much on the beat.

How/why is this happening?

If anything I would have expected the audio from OverBridge to be the source which has issues and be out of sync.

The analog audio is about 600 samples early which at 48K is about 12 ms which is quite a bit.

How many passes have you recorded? Maybe what you see is jitter, so sometimes it’s a bit early, sometimes late, sometimes pretty much on point.
How was the analog recording synced to the DAW?

I use Bitwig, not Cubase but I would assume the concepts are similar…
What I gather from this image is that the Cubase plugin latency compensation is doing it’s job and aligning the audio from the OB plugin, but in the process is pulling the direct from RME interface audio back in time as well. Does this happen when there is no OB plugin loaded?

I would look at what there is is in Cubase settings for the equivalent of a recording offset setting and try adjusting that + - 12 ms either way and see what happens. Or perhaps there is a way to do this on a per track level?

In Bitwig, to align multiple slight variations in timings from external hardware, I have set up groups of tracks as my inputs, and using the time shift tool on those groups, I then route my audio from those tracks to the tracks that I directly record. A bit clunky but it works well for ensuring all sources are printed as precisely on grid as is possible, despite minor jitter and such.
I would consider in most cases, any more than 1.5ms of jitter to be excessive and indicative of a problem with synch, or just poor timing within a particular device.

1 Like

@Schnork

How many passes have you recorded? Maybe what you see is jitter, so sometimes it’s a bit early, sometimes late, sometimes pretty much on point.

This is one pass recording both OB and the analog outs at the same time.

How was the analog recording synced to the DAW?

Cubase sending clock and transport, OB plugin triggering midi notes to change patterns.

Just want to call attention to what NRain pointed out here:

I see by way of google search that for VST latency compensation, cubase (by default) adjusts the positioning of all tracks simultaneously.

“Cubase’s delay compensation automatically adjusts playback timing to account for delays introduced by VST plugins, ensuring all tracks remain synchronized even with varying plugin latencies. This feature is enabled by default and works throughout the entire audio path.”

"Cubase calculates the total latency introduced by all active plugins on each track. It then adjusts the playback of other tracks to match the track with the highest latency, keeping all tracks synchronized. "

So just looking at this from an outside perspective, it sounds as though one of the tracks (maybe OB) has a very high latency and part of the compensatory action pulled the track with the lowest latency back on the timeline to before the event itself.

I don’t have any cubase experience, so you’ll have to figure out on your own whether or not this is what’s actually going on. I would expect it to be implemented in the virtual positioning of the playhead (per track) rather than the actual positions of audio events on the timeline, but it is behaving in a way that makes it difficult to rule out the compensation behavior as the culprit.

:thinking: Interesting, I’ll do some experiments and report back the results.

I will be interested to hear the results, it’s always good to understand how these problems occur.

Check out this feature in particular:

  • Constrain Delay Compensation:

This feature allows users to minimize the latency introduced by Cubase’s delay compensation while maintaining the sound of the mix. It disables VST plugins that introduce high latency for certain tracks during real-time recording or playback.

I think it may allow you to get a more realistic look at how much the timing is being impacted by the compensatory feature because you can compare recordings with it disabled against the ones you’ve already done.

Alright, I tried the CDC and it was exactly the same.

I tried multiple takes and everyone was exactly the same, audio record from the A4’s audio outs is 600 samples early.

I’ve got a work around which is to add a -600 sample offset to recording but I need to remove it when recording other sources which isn’t ideal.

Very strange problem!

yeah super weird, seems like a cubase thing though, check this out:

Similar, I think.

I’m reading stuff on google about there being ASIO latency compensation settings as well as recording latency compensation settings. Is the -600 sample offset part of the recording latency settings or are you doing that manually?

I assume you did it by the same method described in that first post that I linked:

"Navigate to Studio => Studio Setup => Audio System => Record Shift

Over there, you have to enter negative figure of some sort - don’t be afraid of using crazy figures here, e.g. -2550 samples (which is exactly what worked on my end)."

For midi events recording early I found something about the audio and midi timestamps potentially having an impact, so not sure how it would effect you specifically but if you’re using the option called “use system timestamp” might be worth seeing if it also has the reverse effect, somehow, dependent on settings?

Yeah thats what i did.

I also recorded some bass guitar and that seemed fine but I could just be out of time myself :rofl:

I’ll do a test with my Prophet playing back a midi sequence to see if its the same.

Its quite likely this is a Cubase issue and OB has just highlighted it.

P.S

Thanks for your help BTW!

Yeah, no worries man, sorry that no solutions have appeared at present other than what you came up with on your own.

Still, a work around is better than a “work through” :sweat_smile:

I’ve done some tests recording my P10 triggered by MIDIin the same session and then recording by MIDI the P10 and the A4 in a new session.

This is the audio from the P10 its ~ 100 samples after the midi note which is as expected.

This is P10 at the top and A4 at the bottom, the A4 has its USB config set to just MIDI for this test.

The P10 is still ~ 100 samples (~ 2ms) behind the note, however the A4 is ~ 135 samples behind the note.

:thinking: I’m really stumped as to what is causing analog audio record from the A4 whilst using OB to be 600 samples early?

I’ve tried disabling Cubases CDC and as mentioned above and it didn’t make any difference, very weird.

I guess the solution is for tracking the A4 through outboard gear is to set record shift to -600.

Its good to know that the audio recorded for OB directly into Cubase is in sync though.

I think I’ve figured out what was causing the latency, its the note off which triggers the program change!

I’ve actually fixed it by tweaking the Overbridge Engine settings and everything is now in sync!