Skip to content

Commit

Permalink
Updated with faustwasm 0.3.1. Set version to 1.4.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Jun 16, 2024
1 parent b7eedf8 commit b713df0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fausteditorweb",
"version": "1.4.0",
"version": "1.4.1",
"description": "Faust Editor",
"main": "src/index.ts",
"private": true,
Expand Down Expand Up @@ -39,7 +39,7 @@
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.18.9",
"@fortawesome/fontawesome-free": "^5.15.3",
"@grame/faustwasm": "^0.3.0",
"@grame/faustwasm": "^0.3.1",
"@shren/faust-ui": "^1.1.9",
"@types/bootstrap": "^4.6.0",
"@types/jquery": "^3.5.5",
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,9 @@ $(async () => {
factory.addSoundfiles(soundfiles);
node = await factory.createNode(audioCtx, "main", undefined, !useWorklet, bufferSize);
}
node.setPlotHandler(plotHandler);
if (!node) throw new Error("Unknown Error in WebAudio Node.");
node.setPlotHandler(plotHandler);
node.listenSensors()
} catch (e) { /*
const uiWindow = ($("#iframe-faust-ui")[0] as HTMLIFrameElement).contentWindow;
uiWindow.postMessage(JSON.stringify({ type: "clear" }), "*");
Expand Down

0 comments on commit b713df0

Please sign in to comment.