@grame/faustwasm 0.0.60 → 0.0.62
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/assets/standalone/faustwasm/index.js +6 -6
- package/assets/standalone/faustwasm/index.js.map +2 -2
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs-bundle/index.js +6 -6
- package/dist/cjs-bundle/index.js.map +2 -2
- package/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +2 -2
- package/dist/esm-bundle/index.js +6 -6
- package/dist/esm-bundle/index.js.map +2 -2
- package/package.json +1 -1
- package/src/FaustDspGenerator.ts +6 -6
- package/test/faustlive-wasm/faustwasm/index.js +6 -6
- package/test/faustlive-wasm/faustwasm/index.js.map +2 -2
package/dist/cjs-bundle/index.js
CHANGED
|
@@ -9673,7 +9673,7 @@ const dependencies = {
|
|
|
9673
9673
|
// Voice output is forced to 2, when DSP is stereo or effect has 2 ins or 2 outs,
|
|
9674
9674
|
// so that the effect can process the 2 channels of the voice
|
|
9675
9675
|
adaptOut(1,1,1) = _;
|
|
9676
|
-
adaptOut(1,1,2) = _ <: _,
|
|
9676
|
+
adaptOut(1,1,2) = _ <: _,0; // The left channel only is kept
|
|
9677
9677
|
adaptOut(1,2,1) = _ <: _,_;
|
|
9678
9678
|
adaptOut(1,2,2) = _ <: _,_;
|
|
9679
9679
|
adaptOut(2,1,1) = _,_;
|
|
@@ -9688,7 +9688,7 @@ const dependencies = {
|
|
|
9688
9688
|
const effectCode = `
|
|
9689
9689
|
// Inputs
|
|
9690
9690
|
adaptIn(1,1,1) = _;
|
|
9691
|
-
adaptIn(1,1,2) = _
|
|
9691
|
+
adaptIn(1,1,2) = _,_ :> _;
|
|
9692
9692
|
adaptIn(1,2,1) = _,_;
|
|
9693
9693
|
adaptIn(1,2,2) = _,_;
|
|
9694
9694
|
adaptIn(2,1,1) = _,_ :> _;
|
|
@@ -9696,9 +9696,9 @@ const dependencies = {
|
|
|
9696
9696
|
adaptIn(2,2,1) = _,_;
|
|
9697
9697
|
adaptIn(2,2,2) = _,_;
|
|
9698
9698
|
// Outputs
|
|
9699
|
-
adaptOut(1,1) = _ <: _
|
|
9699
|
+
adaptOut(1,1) = _ <: _,0; // The left channel only is kept
|
|
9700
9700
|
adaptOut(1,2) = _,_;
|
|
9701
|
-
adaptOut(2,1) = _ <: _
|
|
9701
|
+
adaptOut(2,1) = _ <: _,0; // The left channel only is kept
|
|
9702
9702
|
adaptOut(2,2) = _,_;
|
|
9703
9703
|
adaptorIns(F) = adaptIn(outputs(F),${effectJSON.inputs},${effectJSON.outputs});
|
|
9704
9704
|
adaptorOuts = adaptOut(${effectJSON.inputs},${effectJSON.outputs});
|
|
@@ -9710,11 +9710,11 @@ const dependencies = {
|
|
|
9710
9710
|
try {
|
|
9711
9711
|
this.effectFactory = await compiler.createPolyDSPFactory(name, effectCode, args + " -inpl");
|
|
9712
9712
|
} catch (e) {
|
|
9713
|
-
console.
|
|
9713
|
+
console.warn(e);
|
|
9714
9714
|
}
|
|
9715
9715
|
}
|
|
9716
9716
|
} catch (e) {
|
|
9717
|
-
console.
|
|
9717
|
+
console.warn(e);
|
|
9718
9718
|
this.voiceFactory = await compiler.createPolyDSPFactory(name, dspCodeAux, args);
|
|
9719
9719
|
}
|
|
9720
9720
|
if (this.voiceFactory) {
|