Recently added Unify 2 to my production setup and loving it. Please forgive me if this question has been asked before. Did a search on the forums, but it resulted in too many hits that didn't answer the following question:
Is it possible to specify a sample offset for virtual instruments similar to the pitch offset for an instrument in Unify?
Here's the use case:
I am using Unify inside Cubase to combine several VIs into a single patch. When doing so, sample latency between different instances or articulations of the VIs becomes an issue. Say the French horns need to be adjusted by 60-70 ms ahead of the strings.
It would be amazing if this could be done for each Unify instrument, similar to what we can do with creating pitch offsets.
Looking around Unify, I don't seem to either find it, or it doesn't exist. Thoughts?
If I understand correctly, your problem arises because you're layering multiple virtual instruments, but some "speak" more promptly than others in response to MIDI note-on events, so you would like to trigger the slower-speaking instruments earlier than the quicker-speaking ones.
Unify can't magically make MIDI note-events arrive earlier than when your DAW sends them. The only thing you can do is to delay these MIDI note-events on their way into the quicker-speaking instruments, so they end up speaking simultaneously with the slower-speaking ones. You can do this by putting an instance of the built-in JitterBox plug-in as a MIDI-effect on each of the quicker-speaking layers.
For consistent delays, set the "min" and "max" delay values the same. For a more natural effect, set them a little different, and the plug-in will apply a random delay to each note, within the min-max range.
@getdunne Perfect! Exactly what I am looking for, just haven't dug deep enough into all the various built-in MIDI effects. And yes, this will need to be a combination of adjusting the track delay in Cubase and then making the individual adjustments via the MIDI effect plugin inside Unify. Got it! 🙂 Appreciate the quick response!
Even instrument plugins can report audio latency, not just audio effects.
I am not sure if we are or should be auto-adjusting like we already do for audio effects (I need to refresh myself on the related code).
If we are not implementing that, it might be useful as an option (probably best not as a default option as it might also be annoying if every other instrument gets delayed to line up with one instrument reporting a large latency). Of course this also relies on the plugin correctly reporting any latency.
Our Notemate plugin introduces MIDI latency simply due to needing a look ahead buffer to analyse note groups.. so naturally output note events are delayed based on that to allow re-ordering.
For audio effects it's more critical since recombining delayed audio and unprocessed audio will introduce phase issues.
Even instrument plugins can report audio latency, not just audio effects.
Unfortunately, they don't. It would be wonderful if the "latency" reported by instrument plug-ins were consistently equal to the time it takes the instrument to speak, BUT this is not the case in practice:
- Most instrument plug-ins report zero latency (i.e., the developer didn't even try).
- The time it takes for an instrument to "speak" is highly variable:
- Many sampled instruments have some amount of "air" at the start of the samples (and worse, this may vary from sample to sample).
- Some instruments, such as shakers, naturally sound before the beat, i.e., they have a natural onset which is more than just "air".
@getdunne All of the aspects you mention make it a tricky feat, and in many ways will introduce other issues that we would have to work around. So, replacing one set of issues with another. I'm good with adjusting the latency to what I need it to be, but I need at least the ability to do so.
@getdunne I'm all for less work on our part 🙂Â
In my own instrument plugins I do report latency (any time the audio configuration changes) which is directly related to the way I've been handling variable block size with internal fixed size processing.
It's not ideal, but I do introduce a little latency on purpose with a FIFO scheme - this helps to simplify things like modulation rate consistency, oversampling and parameter smoothing whilst supporting DAWs that have some crazy block size changes like FL studio) - at the expense of sample accuracy and that additional latency - but it's a trade off I'm OK with and 99.9% of customers never noticed or complained about 🙂
