@grame/faustwasm 0.6.0 → 0.6.3
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/assets/standalone/index-pwa.js +18 -24
- 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/test/organ.dsp +2 -2
- package/test/organ1.dsp +1 -1
|
@@ -2100,13 +2100,8 @@ var FaustBaseWebAudioDsp = class _FaustBaseWebAudioDsp {
|
|
|
2100
2100
|
const matched2 = strMidi.match(/^ctrl\s(\d+)\s(\d+)/);
|
|
2101
2101
|
const matched1 = strMidi.match(/^ctrl\s(\d+)/);
|
|
2102
2102
|
if (matched2) {
|
|
2103
|
-
console.log("matched2", matched2);
|
|
2104
|
-
console.log("matched2[1]", matched2[1]);
|
|
2105
|
-
console.log("matched2[2]", matched2[2]);
|
|
2106
2103
|
this.fCtrlLabel[parseInt(matched2[1])].push({ path: item.address, chan: parseInt(matched2[2]), min: item.min, max: item.max });
|
|
2107
2104
|
} else if (matched1) {
|
|
2108
|
-
console.log("matched1", matched1);
|
|
2109
|
-
console.log("matched1[1]", matched1[1]);
|
|
2110
2105
|
this.fCtrlLabel[parseInt(matched1[1])].push({ path: item.address, chan: 0, min: item.min, max: item.max });
|
|
2111
2106
|
}
|
|
2112
2107
|
}
|
|
@@ -2376,7 +2371,6 @@ var FaustBaseWebAudioDsp = class _FaustBaseWebAudioDsp {
|
|
|
2376
2371
|
if (this.fCtrlLabel[ctrl].length) {
|
|
2377
2372
|
this.fCtrlLabel[ctrl].forEach((ctrl2) => {
|
|
2378
2373
|
const { path, chan } = ctrl2;
|
|
2379
|
-
console.log("ctrlChange", path, chan, channel);
|
|
2380
2374
|
if (chan === 0 || channel === chan - 1) {
|
|
2381
2375
|
this.setParamValue(path, _FaustBaseWebAudioDsp.remap(value, 0, 127, ctrl2.min, ctrl2.max));
|
|
2382
2376
|
if (this.fOutputHandler)
|