use performance clock for osc mode

This commit is contained in:
Jade (Rose) Rowland 2024-08-16 10:46:18 -04:00
parent 8da1d9fbf3
commit 796f741a92
5 changed files with 19 additions and 8 deletions

View file

@ -34,6 +34,7 @@ function connect() {
return connection;
}
// const collator = new ClockCollator({getTargetClockTime: () => (performance.now() + performance.timeOrigin) / 1000});
const collator = new ClockCollator({});
export async function oscTrigger(t_deprecate, hap, currentTime, cps = 1, targetTime) {