@grame/faustwasm 0.0.33 → 0.0.35

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 CHANGED
@@ -200,6 +200,14 @@ process = ba.pulsen(1, 10000) : pm.djembe(60, 0.3, 0.4, 1);
200
200
  })();
201
201
  ```
202
202
 
203
+ ### Projects examples
204
+
205
+ The package is used in the following projects:
206
+
207
+ - [faust-web-component](https://github.com/grame-cncm/faust-web-component), a package providing two web components for embedding interactive Faust snippets in web pages.
208
+ - [Faust Playground](https://github.com/grame-cncm/faustplayground), a Web platform designed to enable children to learn basic audio programming in a simple and graphic way.
209
+ - [Faust Editor](https://github.com/grame-cncm/fausteditor), an online editor used to edit, compile and run Faust code from any recent Web Browser with WebAssembly support.
210
+
203
211
  ## Documentation
204
212
 
205
213
  - [Organisation of the API](#org)
@@ -249,7 +257,7 @@ This level takes a Faust Wasm instance to build an audio node. [AudioWorklet](ht
249
257
 
250
258
  Note that ScriptProcessor is marked as [deprecated](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode) but it's the only audio architecture available in older Safari versions. Both monophonic (generators, effects...) or polyphonic (instruments) nodes can be created. It is described in `FaustScriptProcessorNode.ts` file.
251
259
 
252
- By default, and to save CPU, created audio nodes are not processing audio buffers. They have to be explicitely started with the `start` method (and possibly stopped if needed using the `stop`method).
260
+ Created audio nodes have a `start` and stop` methods. When started (which is done by default), they are processing audio buffers. You may have to explicitly stop them to save CPU (and start then again when needed), if for instance several nodes are created at init time before actual use.
253
261
 
254
262
  An offline processor to render a DSP in a non real-time context and get the computed frames is available. It is described in `FaustOfflineProcessor.ts`. It will automatically use the `start` and `stop` methods internally to activate actual rendering in its `plot` method.
255
263
 
@@ -3626,7 +3626,7 @@ const dependencies = {
3626
3626
  return JSON.stringify(this.getMeta());
3627
3627
  }
3628
3628
  getUI() {
3629
- return this.getMeta();
3629
+ return this.getMeta().ui;
3630
3630
  }
3631
3631
  };
3632
3632
  var FaustMonoDspGenerator = _FaustMonoDspGenerator;