Trying to do better but it's hard

This commit is contained in:
2025-10-15 12:42:56 +02:00
parent 1dc9d1114e
commit ea8ecd4b2a
9 changed files with 200 additions and 163 deletions

View File

@ -78,6 +78,10 @@ export class ExecutionContext {
await this.endSession();
this.currentMode = newMode;
this.strategy = this.createStrategyForMode(newMode);
if (newMode === 'composition') {
await this.csound.stop();
}
}
private createStrategyForMode(mode: ProjectMode): ExecutionStrategy {