@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/assets/standalone/faustwasm/index.js +0 -6
- package/assets/standalone/faustwasm/index.js.map +2 -2
- package/dist/cjs/index.js +0 -6
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs-bundle/index.js +2 -8
- package/dist/cjs-bundle/index.js.map +2 -2
- package/dist/esm/index.js +0 -6
- package/dist/esm/index.js.map +2 -2
- package/dist/esm-bundle/index.js +2 -8
- package/dist/esm-bundle/index.js.map +2 -2
- package/libfaust-wasm/libfaust-wasm.js +1 -1
- package/libfaust-wasm/libfaust-wasm.wasm +0 -0
- package/package.json +1 -1
- package/test/faustlive-wasm/faustwasm/index.js +0 -6
- package/test/faustlive-wasm/faustwasm/index.js.map +2 -2
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)
|