This commit is contained in:
Jade (Rose) Rowland 2024-09-04 23:20:42 -04:00
parent c4243f41c6
commit ebc0b293a9
3 changed files with 2 additions and 6 deletions

View file

@ -64,7 +64,6 @@ export async function oscTrigger(t_deprecate, hap, currentTime, cps = 1, targetT
const osc = await connect();
const controls = parseControlsFromHap(hap, cps);
const keyvals = Object.entries(controls).flat();
const ts = Math.round(collator.calculateTimestamp(currentTime, targetTime) * 1000);
const message = new OSC.Message('/dirt/play', ...keyvals);
const bundle = new OSC.Bundle([message], ts);