diff --git a/package-lock.json b/package-lock.json index b640c9c..659a84a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.2.3", "dependencies": { "@fortawesome/fontawesome-free": "^6.4.0", - "@grame/faustwasm": "^0.4.1", + "@grame/faustwasm": "^0.4.5", "@shren/faust-ui": "^1.1.11", "codemirror": "^5.58.2", "qrcode": "^1.5.3", @@ -397,9 +397,9 @@ } }, "node_modules/@grame/faustwasm": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@grame/faustwasm/-/faustwasm-0.4.1.tgz", - "integrity": "sha512-1W5CIgOGjRTH1fKfNwl+BRC6gBp9/yA8Q10Yyll1dsmZ1oJZMLnNacDvtr/hmOaHgUHHeyYboA+OdIEEflkFQw==", + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/@grame/faustwasm/-/faustwasm-0.4.5.tgz", + "integrity": "sha512-sXUr2WOuQQEOcFuAe1qYZJkotxwjq06RUdFf5npJjMVKWqSMxcB/6xc+twHZbcGL+DJ0iTFG7ushenwWKg0AcA==", "dependencies": { "@types/emscripten": "^1.39.10" }, @@ -1031,9 +1031,9 @@ } }, "node_modules/vite": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.1.tgz", - "integrity": "sha512-XBmSKRLXLxiaPYamLv3/hnP/KXDai1NDexN0FpkTaZXTfycHvkRHoenpgl/fvuK/kPbB6xAgoyiryAhQNxYmAQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.2.tgz", + "integrity": "sha512-6lA7OBHBlXUxiJxbO5aAY2fsHHzDr1q7DvXYnyZycRs2Dz+dXBWuhpWHvmljTRTpQC2uvGmUFFkSHF2vGo90MA==", "dev": true, "dependencies": { "esbuild": "^0.21.3", diff --git a/package.json b/package.json index 0e301f8..b884055 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@fortawesome/fontawesome-free": "^6.4.0", - "@grame/faustwasm": "^0.4.1", + "@grame/faustwasm": "^0.4.5", "@shren/faust-ui": "^1.1.11", "codemirror": "^5.58.2", "qrcode": "^1.5.3", diff --git a/src/faustlive-wasm.js b/src/faustlive-wasm.js index e5e9737..fd1e1a0 100644 --- a/src/faustlive-wasm.js +++ b/src/faustlive-wasm.js @@ -499,10 +499,10 @@ const activateMonoDSP = (dsp) => { } // Setup UI + DSP.listenSensors(); faustUI = new FaustUI({ ui: DSP.getUI(), root: faustUIRoot }); faustUI.paramChangeByUI = (path, value) => DSP.setParamValue(path, value); DSP.setOutputParamHandler(output_handler); - DSP.listenSensors(); console.log("Inputs = " + DSP.getNumInputs()); console.log("Outputs = " + DSP.getNumOutputs()); //DSP.metadata({ declare: function(key, value) { console.log("key = " + key + " value = " + value); }}); @@ -527,10 +527,10 @@ const activatePolyDSP = (dsp) => { } // Setup UI + DSP.listenSensors(); faustUI = new FaustUI({ ui: DSP.getUI(), root: faustUIRoot }); faustUI.paramChangeByUI = (path, value) => DSP.setParamValue(path, value); DSP.setOutputParamHandler(output_handler); - DSP.listenSensors(); console.log("Inputs = " + DSP.getNumInputs()); console.log("Outputs = " + DSP.getNumOutputs()); //DSP.metadata({ declare: function(key, value) { console.log("key = " + key + " value = " + value); }}); diff --git a/src/faustlive.js b/src/faustlive.js index c3998ee..6ce0732 100644 --- a/src/faustlive.js +++ b/src/faustlive.js @@ -604,7 +604,7 @@ window.addEventListener('touchstart', function () { // Main entry point, called when libfaust.js has finished to load function init() { - console.log('FaustEditor: version 1.2.3'); + console.log('FaustEditor: version 1.2.4'); // Try to load code from current URL configureEditorFromUrlParams();