I'm working on a script where I would like an LED lit pad to toggle on/off every 1/8 note while a clip is recording. I've tried using using host.scheduleTask, and I can get it flashing just fine, but setting the delay to 30,000/tempo (30 seconds / bpm) doesn't seem to match the tempo at all.
Any thoughts?
How to set host.scheduleTask delay in beat time?
-
- KVRer
- 5 posts since 30 Apr, 2013
- KVRAF
- 4892 posts since 13 May, 2004
I should have guessed from your other question that you are intending something like this. At least currently it is not possible to get a steady clock inside the script. I tried a couple of approaches before, e.g. your approach, using time signals, etc. All was very jumpy and unusable.
-
- KVRist
- 31 posts since 6 Jul, 2014 from far east
Just for recording ? You might be able to use BeatTime#addTimeObserver or addRawValueObserver.
Nektar Panorama's transport mode has pretty good timing for display beat-time.
Nektar Panorama's transport mode has pretty good timing for display beat-time.
