I think "SNM_GetSetSourceState()" is still in beta. With the official release we'd have to use Reaper's in-built get/set state functions which can be potentially harmful. But basically it can be done.
You'd still need some reasonable value for the rest of the IGNTEMPO line ("Use [nn] BPM" and the time signature) to set. A good start would be to just use the current (at the time the script is run) project BPM and timesig. But would likely fail as soon as there are tempo/timesig changes already existing.
|