Skip to content

Commit

Permalink
fixed FAS preset changing
Browse files Browse the repository at this point in the history
  • Loading branch information
neroroxxx committed Aug 16, 2020
1 parent d0ec27d commit f34bea8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/addon/BMC-Fas.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,10 +349,14 @@ class BMCFas {


void setPreset(uint16_t value){
sendControlChange(0, (value & 0x7F));
sendProgramChange((value>>7) & 0x7F);
/*
BMCMidiMessage message;
prepSysEx(message, BMC_FAS_FUNC_ID_SET_PRESET_NUMBER);
message.appendToSysEx14Bits(value);
sendFractMidiSysEx(message);
*/
}
void presetScroll(bool t_up=true, bool t_endless=true, uint16_t t_min=0, uint16_t t_max=7){
if(!connected()){
Expand Down

0 comments on commit f34bea8

Please sign in to comment.