diff --git a/src/spessasynth_lib/synthetizer/worklet_system/worklet_methods/snapshot.js b/src/spessasynth_lib/synthetizer/worklet_system/worklet_methods/snapshot.js index cd7a462a..614acf26 100644 --- a/src/spessasynth_lib/synthetizer/worklet_system/worklet_methods/snapshot.js +++ b/src/spessasynth_lib/synthetizer/worklet_system/worklet_methods/snapshot.js @@ -117,7 +117,7 @@ export function applySynthesizerSnapshot(snapshot) // restore vibrato and transpose channelObject.channelVibrato = channelSnapshot.channelVibrato; channelObject.lockVibrato = channelSnapshot.lockVibrato; - channelObject.channelTransposeKeyShift = channelSnapshot.channelTranspose; + channelObject.channelTransposeKeyShift = channelSnapshot.channelTransposeKeyShift; // restore preset and lock channelObject.lockPreset = false; diff --git a/src/spessasynth_lib/synthetizer/worklet_system/worklet_utilities/worklet_processor_channel.js b/src/spessasynth_lib/synthetizer/worklet_system/worklet_utilities/worklet_processor_channel.js index 53c34a21..86685044 100644 --- a/src/spessasynth_lib/synthetizer/worklet_system/worklet_utilities/worklet_processor_channel.js +++ b/src/spessasynth_lib/synthetizer/worklet_system/worklet_utilities/worklet_processor_channel.js @@ -63,7 +63,8 @@ export function createWorkletChannel(sendEvent = false) lockPreset: false, } - for (let i = 0; i < 128; i++) { + for (let i = 0; i < 128; i++) + { channel.cachedVoices.push([]); } this.workletProcessorChannels.push(channel);