TimeInfo

This allows to write things life tempo-synced LFO.

Members

Variables

hostIsPlaying
bool hostIsPlaying;

Whether the host sequencer is currently playing

tempo
double tempo;

BPM

timeInSamples
long timeInSamples;

Current time from the beginning of the song in samples. This time can easily be negative, since eg. in REAPER you can change song beginning with "Project start time" settings.

Meta