Real time MIDI messages to VST~

Sep 15, 2012 at 6:31pm

Real time MIDI messages to VST~

I must be missing something but I can’t figure out how to get a [vst~] object to sync with the tempo. I thought I could use midievent to send real time ticks but midievent requires a minimum of two bytes so that’s no good.

How can I get a [vst~] to sync to a global tempo defined in Max so that I can (for example) have a vst~ delay unit or an arpeggiator be synced up?

#64381
Sep 15, 2012 at 9:23pm

OK – I figured this out — if I receive MIDI ticks via rtin and feed tempo messages (which one can get via the [sync~] object) into the transport object, then all my VSTs which have external sync automagically have the right tempo.

#232210
Sep 17, 2012 at 12:52pm

Yes, the magic lies within the global Max transport; when the transport in Max is enabled, a VST hosted within a vst~ object will automatically receive VSTTimeInfo information, and should automatically sync to Max’s tempo.

#232211

You must be logged in to reply to this topic.