fixed import

This commit is contained in:
Jade (Rose) Rowland 2024-02-04 14:09:19 -05:00
parent fc87a6776a
commit cc323d0d61
2 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export class Cyclist {
this.latency = 0.1; // fixed trigger time offset
this.cycle = 0;
this.worker = new SharedWorker(new URL('./clockworker.mjs', import.meta.url));
this.worker = new SharedWorker(new URL('./clockworker.js', import.meta.url));
this.worker.port.start();
let worker_time_dif = 0; // time difference between audio context clock and worker clock
let weight = 0; // the amount of weight that is applied to the current average when averaging a new time dif