@grame/faust-web-component 0.3.9 → 0.4.1
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 +154 -98
- package/index.html +7 -4
- package/package.json +2 -2
- package/src/faust-editor.ts +78 -25
- package/src/faust-widget.ts +63 -17
package/README.md
CHANGED
@@ -82,7 +82,7 @@ The HTML [index.html](./index.html) example page can be copied and tested in `di
|
|
82
82
|
|
83
83
|
## NPM package
|
84
84
|
|
85
|
-
A [npm package](https://www.npmjs.com/package/@grame/faust-web-component) can be used with the CDN link: https://cdn.jsdelivr.net/npm/@grame/faust-web-component@0.
|
85
|
+
A [npm package](https://www.npmjs.com/package/@grame/faust-web-component) can be used with the CDN link: https://cdn.jsdelivr.net/npm/@grame/faust-web-component@0.4.1/dist/faust-web-component.js (possibly update the version number).
|
86
86
|
|
87
87
|
Here is an HTML example using this model:
|
88
88
|
|
@@ -101,7 +101,7 @@ process = vgroup("Oscillator", os.osc(freq1) * vol, os.osc(freq2) * vol);
|
|
101
101
|
-->
|
102
102
|
</faust-editor>
|
103
103
|
|
104
|
-
<script src="https://cdn.jsdelivr.net/npm/@grame/faust-web-component@0.
|
104
|
+
<script src="https://cdn.jsdelivr.net/npm/@grame/faust-web-component@0.4.1/dist/faust-web-component.js"></script>
|
105
105
|
```
|
106
106
|
|
107
107
|
## Demo
|