midisend with delay
In a JS I need to send a midi message after some time of receiving a new one.
I've tried adding an offset to the offset but it doesn't seem to work for anything larger than the block size.
I can basically do this when reaper is playing because one can use play_position, which acts as a way to measure time and determine how long to delay.
It would be nice if JS had a time variable that is always incrementing just so JS FX's can measure time.
e.g., daw_time = time since daw was started, or proj_time = time since project was loaded, etc.
|