You can query the context variable passed on by IPluginBase::initialize for a reference to this interface.
PPQ conversion:
Tempo events:
Bar information:
Signature events:
Returns the PPQ base of the host application.
Converts from milliseconds to PPQ.
Converts from PPQ to milliseconds.
Counts the number of tempo changes in the current host arrangement.
Gets tempo change at the specified index. On return, ppq is set to the PPQ position of the tempo change, bpm is the tempo in BPM times 1000 (e.g. 120000 equals 120.000 BPM).
Gets an index for the tempo change table at the specified PPQ position.
tresult PLUGIN_API getBar ( long ppq, long* barCount, long* beatCount, long* remainder)
Gets bar information at the specified PPQ position.
Gets PPQ position from bar information.
Returns the number of signature events in the current host arrangement.
tresult PLUGIN_API getSignature ( long index, long* numerator, long* denominator)
Gets signature information at the specified signature table index.
Gets a signature table index for the specified PPQ position.
Methods:
Returns the current system time of the host sequencer in PPQ.