@grame/faust-web-component 0.2.35 → 0.2.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/faust-web-component.js +74 -74
- package/package.json +2 -2
- package/src/faust-editor.ts +1 -1
- package/src/faust-widget.ts +1 -1
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@grame/faust-web-component",
|
3
3
|
"description": "Web component embedding the Faust Compiler",
|
4
|
-
"version": "0.2.
|
4
|
+
"version": "0.2.37",
|
5
5
|
"module": "dist/faust-web-component.js",
|
6
6
|
"files": [
|
7
7
|
"src/",
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"@codemirror/legacy-modes": "^6.3.3",
|
43
43
|
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
44
44
|
"@fortawesome/free-solid-svg-icons": "^6.4.2",
|
45
|
-
"@grame/faustwasm": "^0.0.
|
45
|
+
"@grame/faustwasm": "^0.0.63",
|
46
46
|
"@shren/faust-ui": "^1.1.5",
|
47
47
|
"codemirror": "^6.0.1",
|
48
48
|
"split.js": "^1.6.5"
|
package/src/faust-editor.ts
CHANGED
@@ -287,7 +287,7 @@ export default class FaustEditor extends HTMLElement {
|
|
287
287
|
|
288
288
|
// Build the generator
|
289
289
|
generator = nvoices > 0 ? get_poly_generator() : get_mono_generator();
|
290
|
-
await generator.compile(compiler, "main", code, "");
|
290
|
+
await generator.compile(compiler, "main", code, "-ftz 2");
|
291
291
|
|
292
292
|
} catch (e: any) {
|
293
293
|
setError(editor, e)
|
package/src/faust-widget.ts
CHANGED
@@ -130,7 +130,7 @@ export default class FaustWidget extends HTMLElement {
|
|
130
130
|
|
131
131
|
// Build the generator and generate UI
|
132
132
|
generator = nvoices > 0 ? get_poly_generator() : get_mono_generator();
|
133
|
-
await generator.compile(compiler, "main", code, "");
|
133
|
+
await generator.compile(compiler, "main", code, "-ftz 2");
|
134
134
|
const ui = generator.getUI();
|
135
135
|
|
136
136
|
faustUI = new FaustUI({ ui, root: faustUIRoot });
|