Skip to content

Commit

Permalink
fix preset list containing override soundfont when it shouldn't
Browse files Browse the repository at this point in the history
  • Loading branch information
spessasus committed Aug 11, 2024
1 parent f5817dd commit 1990136
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SpessaSynth",
"version": "3.16.1",
"version": "3.16.2",
"type": "module",
"scripts": {
"start": "node src/website/server/server.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function loadNewSequence(parsedMidi)
if(this.synth.overrideSoundfont)
{
// clean up the embedded soundfont
this.synth.clearSoundFont();
this.synth.clearSoundFont(true, true);
}
SpessaSynthGroupCollapsed("%cPreloading samples...", consoleColors.info);
// smart preloading: load only samples used in the midi!
Expand Down
2 changes: 1 addition & 1 deletion src/spessasynth_lib/synthetizer/worklet_processor.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class WorkletSoundfontManager
*/
getPresetList()
{
return this.presetList;
return this.presetList.slice();
}

/**
Expand Down

0 comments on commit 1990136

Please sign in to comment.