Commit 226db965 authored by pumpkin's avatar pumpkin

Fix new patch: support synth choice.

parent 9f26b6d2
......@@ -162,6 +162,7 @@ function resetPatch() {
resetValues();
let synth = parseInt(document.querySelector('#synth').value) -1;
var data = getData();
// Remove BOF and EOF
......@@ -171,6 +172,9 @@ function resetPatch() {
// Remove manufacturer
data.splice(0, 3);
// Set selected synth
data[3] = synth;
console.log("reset Patch", data);
output.sendSysex([0, 32, 41], data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment