-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waveform jitter #13
Comments
Note to whoever works this (or myself for later) - this is probably related to different buffers used in different DAWs altering the timing so it might be easier to change the plugin to go sample-by-sample in processing rather than buffer by buffer. Either that or it is an issue in the nih-plug context.transport() stuff for calculating beat position based off the information the DAW gives the plugin. |
Still trying to figure this out. @crshrprt do you use any preroll setting in Ardour? |
No preroll, it happens also in hosts without that feature. |
There's something weird with Ardour on Windows where the Beat displayed isn't the tracked beat from the timeline. I'm thinking this is either miscalculation from rounding errors or some sort of lag between the audio thread and the GUI thread. Even then there is still some jitter with the different solutions I've tried. So I have tried to minimize it where I can. I think we should leave this issue open, but I've updated the project with my changes so far. |
1cfbd8f has the latest changes lessening some of the jitter but it's still there unfortunately. |
Can you try the latest release build and see if the jitter got better for you? |
In latest version jitter is better, waveform's start still moves in Ardour but it seems a bit more predictable: Scrolloscope_Ardour.mp4In BespokeSynth waveform's start is more stable. In both DAWs the bar synced view is "broken", only a a few ms buffer is displayed: Scrolloscope_BespokeSynth.mp4 |
Dang I was hoping that would have fixed it. I'll try and revisit this again soon. I thought of another alternative as well: |
Hey @crshrprt do you use a specific timeline sync in Ardour + your other hosts? I saw in the Ardour manual that MTC timeline control limits the frame rate and that could be part of the issue. Do you use any external midi timing control or JACK? |
In my tests in Ardour and BespokeSynth I used the internal transport, no external clock. |
Okay I think I got it fixed now, can you try with the latest release? I tested in Ardour and was able to get nicer beat sync happening :) |
Definitively is better now, and bar mode works too. :) Scrolloscope_Ardour2.mp4 |
Great news, I'll mark this as closed then. Thanks for the help testing and validating! |
In case it will be helpful for tracking down the problem with the waveform jitter here's a list of DAWs/host I tried on Linux when testing fixing-sync-other-daws branch.
I encountered jitter in:
Ardour 8.2
Carla 2.5.8
Bespoke Synth Nightly 611103f (initially it seemed not affected, but after a while it was noticeable)
The text was updated successfully, but these errors were encountered: