@grame/faustwasm 0.6.0 → 0.6.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/dist/cjs/index.js CHANGED
@@ -2130,13 +2130,8 @@ export default ${(_b = jsCode.match(jsCodeHead)) == null ? void 0 : _b[1]};
2130
2130
  const matched2 = strMidi.match(/^ctrl\s(\d+)\s(\d+)/);
2131
2131
  const matched1 = strMidi.match(/^ctrl\s(\d+)/);
2132
2132
  if (matched2) {
2133
- console.log("matched2", matched2);
2134
- console.log("matched2[1]", matched2[1]);
2135
- console.log("matched2[2]", matched2[2]);
2136
2133
  this.fCtrlLabel[parseInt(matched2[1])].push({ path: item.address, chan: parseInt(matched2[2]), min: item.min, max: item.max });
2137
2134
  } else if (matched1) {
2138
- console.log("matched1", matched1);
2139
- console.log("matched1[1]", matched1[1]);
2140
2135
  this.fCtrlLabel[parseInt(matched1[1])].push({ path: item.address, chan: 0, min: item.min, max: item.max });
2141
2136
  }
2142
2137
  }
@@ -2406,7 +2401,6 @@ export default ${(_b = jsCode.match(jsCodeHead)) == null ? void 0 : _b[1]};
2406
2401
  if (this.fCtrlLabel[ctrl].length) {
2407
2402
  this.fCtrlLabel[ctrl].forEach((ctrl2) => {
2408
2403
  const { path, chan } = ctrl2;
2409
- console.log("ctrlChange", path, chan, channel);
2410
2404
  if (chan === 0 || channel === chan - 1) {
2411
2405
  this.setParamValue(path, _FaustBaseWebAudioDsp.remap(value, 0, 127, ctrl2.min, ctrl2.max));
2412
2406
  if (this.fOutputHandler)