Skip to content

Commit

Permalink
Merge branch 'hidden-ui' into faustfft
Browse files Browse the repository at this point in the history
  • Loading branch information
Fr0stbyteR committed Jun 18, 2024
2 parents 7b80c43 + d280ecc commit 22c1dae
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 56 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The [soundfile](https://faustdoc.grame.fr/manual/syntax/#soundfile-primitive) pr

To access local audio files, a local server can be started:

- use the local server URL `http://127.0.0.1:8000` (or `http:/localhost:8000`) with `declare soundfiles "http:/localhost:8000";`). Additional URLs can always be declared if needed.
- use the local server URL `http://127.0.0.1:8000` (or `http://localhost:8000`) with `declare soundfiles "http://localhost:8000";`). Additional URLs can always be declared if needed.

- install the required package with `pip install Flask Flask-CORS` (or `pip3 install Flask Flask-CORS`)

Expand Down
89 changes: 41 additions & 48 deletions package-lock.json

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

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fausteditorweb",
"version": "1.3.3",
"version": "1.4.1",
"description": "Faust Editor",
"main": "src/index.ts",
"private": true,
Expand Down Expand Up @@ -39,17 +39,17 @@
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.18.9",
"@fortawesome/fontawesome-free": "^5.15.3",
"@grame/faustwasm": "^0.2.2",
"@shren/faust-ui": "^1.1.9",
"@grame/faustwasm": "^0.3.1",
"@shren/faust-ui": "^1.1.11",
"@shren/kissfft-js": "^0.1.10",
"@types/bootstrap": "^4.6.0",
"@types/jquery": "^3.5.5",
"@types/qrcode": "^1.4.0",
"@types/wavesurfer.js": "^3.3.2",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"@zenfs/core": "^0.9.7",
"@zenfs/dom": "^0.2.6",
"@zenfs/core": "^0.12.10",
"@zenfs/dom": "^0.2.13",
"ali-oss": "^6.18.1",
"babel-loader": "^9.1.0",
"bootstrap": "^4.6.0",
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,9 @@ $(async () => {
generator.addSoundfiles(soundfiles);
node = await generator.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
2 changes: 1 addition & 1 deletion src/static/examples.json

Large diffs are not rendered by default.

0 comments on commit 22c1dae

Please sign in to comment.