Fix worklets not loading

This commit is contained in:
Nikita 2025-10-19 19:44:53 +03:00
parent 920776fdfe
commit 908c0e44ff
6 changed files with 28 additions and 23 deletions

View file

@ -269,8 +269,10 @@ export class StrudelMirror {
await this.repl.evaluate(this.code);
}
async exportAudio(begin, end) {
// await this.repl.evaluate(this.code, false)
await this.repl.evaluate(this.code, false)
this.repl.exportAudio(begin, end);
this.repl.scheduler.stop();
}
async stop() {
this.repl.scheduler.stop();