Trying to do better but it's hard
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user