@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.
@@ -3648,7 +3648,7 @@ var _FaustPolyDspGenerator = class {
3648
3648
  // Voice output is forced to 2, when DSP is stereo or effect has 2 ins or 2 outs,
3649
3649
  // so that the effect can process the 2 channels of the voice
3650
3650
  adaptOut(1,1,1) = _;
3651
- adaptOut(1,1,2) = _ <: _,_;
3651
+ adaptOut(1,1,2) = _ <: _,0; // The left channel only is kept
3652
3652
  adaptOut(1,2,1) = _ <: _,_;
3653
3653
  adaptOut(1,2,2) = _ <: _,_;
3654
3654
  adaptOut(2,1,1) = _,_;
@@ -3663,7 +3663,7 @@ var _FaustPolyDspGenerator = class {
3663
3663
  const effectCode = `
3664
3664
  // Inputs
3665
3665
  adaptIn(1,1,1) = _;
3666
- adaptIn(1,1,2) = _,*(0) :> _; // The voice output was duplicated, so only one channel has to be kept
3666
+ adaptIn(1,1,2) = _,_ :> _;
3667
3667
  adaptIn(1,2,1) = _,_;
3668
3668
  adaptIn(1,2,2) = _,_;
3669
3669
  adaptIn(2,1,1) = _,_ :> _;
@@ -3671,9 +3671,9 @@ var _FaustPolyDspGenerator = class {
3671
3671
  adaptIn(2,2,1) = _,_;
3672
3672
  adaptIn(2,2,2) = _,_;
3673
3673
  // Outputs
3674
- adaptOut(1,1) = _ <: _,*(0); // The left channel is kept, but the right one has to be cleared
3674
+ adaptOut(1,1) = _ <: _,0; // The left channel only is kept
3675
3675
  adaptOut(1,2) = _,_;
3676
- adaptOut(2,1) = _ <: _,*(0); // The left channel is kept, but the right one has to be cleared
3676
+ adaptOut(2,1) = _ <: _,0; // The left channel only is kept
3677
3677
  adaptOut(2,2) = _,_;
3678
3678
  adaptorIns(F) = adaptIn(outputs(F),${effectJSON.inputs},${effectJSON.outputs});
3679
3679
  adaptorOuts = adaptOut(${effectJSON.inputs},${effectJSON.outputs});
@@ -3685,11 +3685,11 @@ var _FaustPolyDspGenerator = class {
3685
3685
  try {
3686
3686
  this.effectFactory = await compiler.createPolyDSPFactory(name, effectCode, args + " -inpl");
3687
3687
  } catch (e) {
3688
- console.log(e);
3688
+ console.warn(e);
3689
3689
  }
3690
3690
  }
3691
3691
  } catch (e) {
3692
- console.log(e);
3692
+ console.warn(e);
3693
3693
  this.voiceFactory = await compiler.createPolyDSPFactory(name, dspCodeAux, args);
3694
3694
  }
3695
3695
  if (this.voiceFactory) {