Request: let plug-ins read the whole tempo and signature map, like REAPER (no need to play the song)

Hi,

I’m Leo Margarit, drummer in Pain of Salvation, and I develop OddClick (Margarit Audio), a VST3/AU/AAX click track plug-in for odd and changing time signatures: it accents each bar by its grouping (a 7/8 as 2+2+3) and plays count-ins before tempo changes.

What I’d love in Cubase and Nuendo is what REAPER already does: you insert the plug-in and it immediately knows the whole song, every bar’s time signature and tempo, without playing anything. And when you change a signature or tempo in the project, the plug-in updates right away. In REAPER this works because the host context also answers IReaperHostApplication: the plug-in calls TimeMap_GetMeasureInfo to read the start, time signature and tempo of any bar, and reads it again when the project changes.

In VST 3 today, Vst::ProcessContext gives the current tempo and time signature (and where the current bar starts), but nothing about the other bars. So the plug-in has to hear the song played through once, or the user exports a MIDI file and imports it into the plug-in, and does it again after every edit.

The request (read-only):

  1. A standard VST 3 host interface, queried from the host context like IReaperHostApplication, that returns the Signature Track and Tempo Track: every event with its position (bar and project time), numerator/denominator and tempo.
  2. A notification or change counter when either track is edited, so the plug-in can update in real time.

Also useful: the current bar number in ProcessContext (an optional field with its own flag), so a plug-in knows where it is when playback starts mid-song. And if something like this already exists through ARA, could a normal, non-ARA instrument plug-in use it?

As a standard interface, any VST 3 host could offer it. It would help every time-aware plug-in, not just OddClick: click and count-in tools, arpeggiators and step sequencers, tempo-synced effects, score and visual displays. Happy to test a beta.

Thanks,
Leo Margarit
Margarit Audio · oddclick.net