Avid Pro Audio Community

Avid Pro Audio Community (https://duc.avid.com/index.php)
-   Pro Tools 12 (https://duc.avid.com/forumdisplay.php?f=142)
-   -   Combination of VI's and Hardware (https://duc.avid.com/showthread.php?t=373099)

guitarist9891 10-14-2015 12:15 PM

Combination of VI's and Hardware
 
1 Attachment(s)
Hello

I am running all my VI's though Vepro 5 but still wanted to incorporate some hardware sound modules into my setup. I like to keep things in MIDI as long as possible. I have noticed that my Yamaha P155 is out of sync tempo wise with my VI. Below are two waveforms both piano from the same MIDI file. the top one is kontact piano the button is my hardware. Obviously I can nudge the track - but again I want to keep it in MIDI as long as possible. My Drums bass and strings are also all in VEPRO so hardware piano sounds out of sync. Any ideas how to fix this? Thanks!

I am running Steinberg Ur824 interface, Pro Tools 12 (non HD) and MOTU micro lite midi interface.
Attached Thumbnails

Update: I thought that VEPRO 5 was introducing latency on the VI's so I printed the KONTAKT piano on an instrument track internally in Pro Tools. The wave form was the same as the one printed through VEPRO 5. It seems my hardware piano is early...any way to sync it to my VI's?

nigelpry 10-14-2015 03:08 PM

Re: Combination of VI's and Hardware
 
Ok, so ...

The bad news is that every piece of MIDI will have its own inherent slight delay, responding internally to received MIDI and sending the audio out. Any digital to analog converters will add a little delay too, so digital hardware will all have the problem to some degree.

The good news is that the size of that delay is pretty consistent.

You can adjust by feel, until it 'sounds' tight, or measure it accurately and adjust precisely, that's up to you.

The simplest thing to do is to make the MIDI real time properties column in the edit window visible. One of the properties is delay, and you can equally use this to nudge MIDI forward in time as well as back.

If the hardware is playing back late, use a negative delay value and adjust it until the two audio sounds are tight.

Once you are certain you've nailed it, make a note of the delay figure for future reference. Or do what I've done .....

I'm a big fan and user of the track preset hack .... I have track presets saved for each of my MIDI hardware devices, and the delay real time property is saved as part of that track preset. So now I don't have to think about it at all. The tracks automatically send out the MIDI data early, and the audio comes back right on time.

The only limitation is that if you want hardware and a VI to both react to the same MIDI data, then you have to duplicate the MIDI data, and then you need to be careful editing it to make sure both copies stay the same.

But I do dislike the concept of duplicate data, it should only need to exist once.

Unfortunately, only 'some' real time properties can be made to apply 'live' to incoming data received by a MIDI or Instrument track, not just data already on the track. This is done by record enabling the track ... but delay IS NOT one of the properties that can be applied live.

That's a real crying shame, and it's one of many MIDI related enhancements on my Pro Tools wish list. Obviously you couldn't achieve negative delay live (without having power over time), but positive delay should not be a problem, and should be implemented.

Why, well because then I could send the MIDI out of the MIDI track to two places .... to the ...

1) interface MIDI Out that is connected to the hardware MIDI IN, and
2) Instrument track with the VI that you also want to trigger.

You'd set a negative delay on the MIDI track to send it out early, and set an equal positive delay on the Instrument track to delay the early MIDI to bring it back into time.

Then, the hardware and VI would both play in sync, from a single copy of the same MIDI data.

If only!

guitarist9891 10-14-2015 03:39 PM

Re: Combination of VI's and Hardware
 
I am surprised automatic midi delay compensation was not implemented a long time ago. The same way one could measure and compensate for latency when using a hardware compressor for example. Strange this was not done for MIDI instruments.

guitarist9891 10-14-2015 04:13 PM

Re: Combination of VI's and Hardware
 
Thank you for your suggestion I tried this. Could not get it perfect but very close. Still had to nudge by about a millisecond after the clip was recorded. Funny If I increased the delay in the midi event list by that same millisecond it did NOT have the same effect. Another thing is that when I changed sample rate from 256 to 1024 (which I often do once all the parts are played in and I start putting more comps and Eqs on AUX tracks while everything is still in MIDI) and printed the track from my hardware piano the track moved completely out of sync once it was printed. ( I was not printing through any comps or eq ) As a test I also reprinted the KONTAKT piano track and the rePrint stayed exactly the same regardless of the chosen buffer size.

I got interested in this as I was GASING for an INTEGRA 7 but now I see it is very impractical to use hardware sound modules....shame

Update: Just repeated the test in Cubase Pro 8 - same problem.

guitarist9891 10-14-2015 08:45 PM

Re: Combination of VI's and Hardware
 
with further experimentation I actually got everything in sync by putting on a time adjuster plugin on my drum aux. At 1024 i had to delay 2300 samples on the time adjuster plugin.

It still is a pain to work while combining external sound modules and VI's. I wish there was a simpler way that was not dependent on me changing the buffer in the playback engine. Something that would adjust automatically.

Shan 10-14-2015 09:05 PM

Re: Combination of VI's and Hardware
 
1 Attachment(s)
Use MIDI Playback Offset to compensate for delays in MIDI devices. To configure a MIDI or Instrument track offset choose Event > MIDI Track Offsets. The offset can be set in samples(–10,000 to 10,000). For the global MIDI playback offset choose Setup > Preferences and click the MIDI tab. The global offset can also be set in samples:

http://duc.avid.com/attachment.php?a...1&d=1444881889

Hope that helps.

guitarist9891 10-14-2015 09:22 PM

Re: Combination of VI's and Hardware
 
Yes that helps! Thanks. everything sounds aligned after about 5 mins of experimenting to get the offset right.

Unfortunately it is still Buffer size dependent but I guess I need a new computer anyway to set a hardware buffer size and forget about it.

I currently have 2.4 ghz i5 with 4 gigs of ram. Late 2013 13 inch macbook pro.

nigelpry 10-14-2015 09:58 PM

Re: Combination of VI's and Hardware
 
Quote:

Originally Posted by Shan (Post 2303040)
Use MIDI Playback Offset to compensate for delays in MIDI devices. To configure a MIDI or Instrument track offset choose Event > MIDI Track Offsets. The offset can be set in samples(–10,000 to 10,000). For the global MIDI playback offset choose Setup > Preferences and click the MIDI tab. The global offset can also be set in samples:

http://duc.avid.com/attachment.php?a...1&d=1444881889

Hope that helps.

Wow!

I knew well about Global MIDI Offset, but that affects all MIDI by the same amount, so it's not precise enough to cope with different delays in different devices.

I was completely unaware of MIDI Track offset. Thanks Shan, I'll have a look into that myself.

nigelpry 10-14-2015 10:07 PM

Re: Combination of VI's and Hardware
 
Quote:

Originally Posted by guitarist9891 (Post 2303003)
Thank you for your suggestion I tried this. Could not get it perfect but very close. Still had to nudge by about a millisecond after the clip was recorded. Funny If I increased the delay in the midi event list by that same millisecond it did NOT have the same effect.

The Delay MIDI Real Time Property can be set to ticks or samples. Were you using it as ticks?

Also, perhaps its my old ears, but if you've got it correct to one millisecond, or one tick, are you actually hearing a one tick/ms flam, or is it just irritating because the clips are not precisely aligned.

For me it's close enough, especially as I don't generally 'double up' sounds using a combination of hardware and VI.

The delay compensation issues are a pain though at mix time, so I generally print the MIDI, especially from hardware, as soon as I can.

At least you are in a better place than you were ;-)

albee1952 10-15-2015 09:49 AM

Re: Combination of VI's and Hardware
 
Quote:

Originally Posted by guitarist9891 (Post 2303041)
Yes that helps! Thanks. everything sounds aligned after about 5 mins of experimenting to get the offset right.

Unfortunately it is still Buffer size dependent but I guess I need a new computer anyway to set a hardware buffer size and forget about it.

I currently have 2.4 ghz i5 with 4 gigs of ram. Late 2013 13 inch macbook pro.

Indeed, i5 and minimum RAM is woefully underpowered. i7 and lots of RAM makes a major difference:o


All times are GMT -7. The time now is 07:48 AM.

Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com