Skip to content

Commit 1d7ca0a

Browse files
committed
fix worklet!
1 parent 8b29e92 commit 1d7ca0a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ also allowing to use it offline!
9292
**Local Edition requires Node.js**
9393

9494
#### Windows
95-
1. Download the code as a ZIP file and extract, or use `git clone https://github.com/spessasus/SpessaSynth`.
95+
1. [Download the program](https://spessasus.github.io/SpessaSynth/SpessaSynth-LocalEdition.zip).
9696
2. Put your SoundFonts into the `soundfonts` folder (you can select SoundFonts in the program).
9797
3. Double-click `Open SpessaSynth.bat`.
9898
4. Enjoy!

src/website/js/manager/manager.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,7 @@ class Manager
165165
{
166166
console.warn("DEBUG ENABLED! DEBUGGING ENABLED!!");
167167
}
168-
const WORKLET_PATH = "./worklet_processor.min.js";
169-
const prePath = window.isLocalEdition ? "../../" : "../../";
170-
this.workletPath = prePath + WORKLET_PATH;
168+
this.workletPath = "./worklet_processor.min.js";
171169
if (context.audioWorklet)
172170
{
173171
await context.audioWorklet.addModule(new URL(this.workletPath, import.meta.url));

0 commit comments

Comments
 (0)