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;
|
this.instrument = newInstrument;
|
||||||
|
|
||||||
// Restore volume settings
|
// Restore volume settings
|
||||||
// this.updateSamplerVolume();
|
this.updateSamplerVolume();
|
||||||
|
|
||||||
console.log(`Instrument changed successfully to ${newInstrument}`);
|
console.log(`Instrument changed successfully to ${newInstrument}`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user