fixed the issue that changing instrument will cause track volume back to default.

This commit is contained in:
Xiaohan-Tian
2025-08-12 21:10:49 -07:00
parent e2e992cbda
commit 585690a046
+1 -1
View File
@@ -215,7 +215,7 @@ export class KGAudioBus {
this.instrument = newInstrument;
// Restore volume settings
// this.updateSamplerVolume();
this.updateSamplerVolume();
console.log(`Instrument changed successfully to ${newInstrument}`);
} catch (error) {