fixed the issue that changing instrument will cause track volume back to default.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user