Skip to content

Commit

Permalink
add program change
Browse files Browse the repository at this point in the history
  • Loading branch information
okyeron committed Feb 9, 2023
1 parent 7a3eefd commit 3904bb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webconfig/midiwork.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@
console.log('cntrl: '+ cntrl + ":"+ cntrlvalue);
// showcontroller( cntrl, cntrlvalue );
}
if (type == 192){ // program change
console.log('pgchange: '+ cntrl);
// get new config
midiOutput.send([0xf0, 0x7d, 0x00, 0x00, 0x1f, 0xf7]);
}


};
}
Expand Down

0 comments on commit 3904bb7

Please sign in to comment.