diff --git a/packages/core/clockworker.mjs b/packages/core/clockworker.js similarity index 100% rename from packages/core/clockworker.mjs rename to packages/core/clockworker.js diff --git a/packages/core/cyclist.mjs b/packages/core/cyclist.mjs index f44b015e..706313a8 100644 --- a/packages/core/cyclist.mjs +++ b/packages/core/cyclist.mjs @@ -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