Skip to content

Commit

Permalink
Updated with faustwasm 0.4.5. Set version to 1.2.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Jun 27, 2024
1 parent 770c5eb commit 7d4e1f7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/faustlive-wasm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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); }});
Expand All @@ -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); }});
Expand Down
2 changes: 1 addition & 1 deletion src/faustlive.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7d4e1f7

Please sign in to comment.