@grame/faustwasm 0.0.59 → 0.0.61

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.
Files changed (37) hide show
  1. package/assets/standalone/faustwasm/index.js +5 -5
  2. package/assets/standalone/faustwasm/index.js.map +2 -2
  3. package/dist/cjs/index.js +5 -5
  4. package/dist/cjs/index.js.map +2 -2
  5. package/dist/cjs-bundle/index.js +5 -5
  6. package/dist/cjs-bundle/index.js.map +2 -2
  7. package/dist/esm/index.js +5 -5
  8. package/dist/esm/index.js.map +2 -2
  9. package/dist/esm-bundle/index.js +5 -5
  10. package/dist/esm-bundle/index.js.map +2 -2
  11. package/package.json +1 -1
  12. package/src/FaustDspGenerator.ts +6 -6
  13. package/test/bug/bug.json +2 -2
  14. package/test/bug/bug.wasm +0 -0
  15. package/test/bug/bug_effect.json +1 -1
  16. package/test/bug/bug_effect.wasm +0 -0
  17. package/test/bug/faustwasm/index.js +5 -5
  18. package/test/bug/faustwasm/index.js.map +2 -2
  19. package/test/faustlive-wasm/faustwasm/index.js +5 -5
  20. package/test/faustlive-wasm/faustwasm/index.js.map +2 -2
  21. package/test/guitar/faust-ui/index.css +416 -0
  22. package/test/guitar/faust-ui/index.css.map +1 -0
  23. package/test/guitar/faust-ui/index.d.ts +1 -0
  24. package/test/guitar/faust-ui/index.js +3476 -0
  25. package/test/guitar/faust-ui/index.js.map +1 -0
  26. package/test/guitar/faustwasm/index.d.ts +1294 -0
  27. package/test/guitar/faustwasm/index.js +3874 -0
  28. package/test/guitar/faustwasm/index.js.map +7 -0
  29. package/test/guitar/guitar.js +227 -0
  30. package/test/guitar/guitar.json +327 -0
  31. package/test/guitar/guitar.wasm +0 -0
  32. package/test/guitar/icon.png +0 -0
  33. package/test/guitar/index.html +86 -0
  34. package/test/guitar/manifest.json +15 -0
  35. package/test/guitar/service-worker.js +35 -0
  36. package/test/node/test.js +0 -1
  37. package/test/bug.dsp +0 -22
@@ -9636,7 +9636,7 @@ var _FaustPolyDspGenerator = class {
9636
9636
  // Voice output is forced to 2, when DSP is stereo or effect has 2 ins or 2 outs,
9637
9637
  // so that the effect can process the 2 channels of the voice
9638
9638
  adaptOut(1,1,1) = _;
9639
- adaptOut(1,1,2) = _ <: _,_;
9639
+ adaptOut(1,1,2) = _ <: _,0; // The left channel only is kept
9640
9640
  adaptOut(1,2,1) = _ <: _,_;
9641
9641
  adaptOut(1,2,2) = _ <: _,_;
9642
9642
  adaptOut(2,1,1) = _,_;
@@ -9651,7 +9651,7 @@ var _FaustPolyDspGenerator = class {
9651
9651
  const effectCode = `
9652
9652
  // Inputs
9653
9653
  adaptIn(1,1,1) = _;
9654
- adaptIn(1,1,2) = _,*(0) :> _; // The voice output was duplicated, so only one channel has to be kept
9654
+ adaptIn(1,1,2) = _,_ :> _;
9655
9655
  adaptIn(1,2,1) = _,_;
9656
9656
  adaptIn(1,2,2) = _,_;
9657
9657
  adaptIn(2,1,1) = _,_ :> _;
@@ -9659,9 +9659,9 @@ var _FaustPolyDspGenerator = class {
9659
9659
  adaptIn(2,2,1) = _,_;
9660
9660
  adaptIn(2,2,2) = _,_;
9661
9661
  // Outputs
9662
- adaptOut(1,1) = _ <: _,*(0); // The left channel is kept, but the right one has to be cleared
9662
+ adaptOut(1,1) = _ <: _,0; // The left channel only is kept
9663
9663
  adaptOut(1,2) = _,_;
9664
- adaptOut(2,1) = _ <: _,*(0); // The left channel is kept, but the right one has to be cleared
9664
+ adaptOut(2,1) = _ <: _,0; // The left channel only is kept
9665
9665
  adaptOut(2,2) = _,_;
9666
9666
  adaptorIns(F) = adaptIn(outputs(F),${effectJSON.inputs},${effectJSON.outputs});
9667
9667
  adaptorOuts = adaptOut(${effectJSON.inputs},${effectJSON.outputs});
@@ -9677,7 +9677,7 @@ var _FaustPolyDspGenerator = class {
9677
9677
  }
9678
9678
  }
9679
9679
  } catch (e) {
9680
- console.log(e);
9680
+ console.warn(e);
9681
9681
  this.voiceFactory = await compiler.createPolyDSPFactory(name, dspCodeAux, args);
9682
9682
  }
9683
9683
  if (this.voiceFactory) {