Skip to content

Commit 0b1c5fb

Browse files
committed
Switch the Behringer Pro 800 program dump back to the normal, "non CC flood" behavior
1 parent 64e3043 commit 0b1c5fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

adaptations/Behringer_Pro_800.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def numberFromDump(message: List[int]) -> int:
130130
return -1
131131

132132

133-
def convertToProgramDump_old(channel: int, message: List[int], program_number: int) -> List[int]:
133+
def convertToProgramDump(channel: int, message: List[int], program_number: int) -> List[int]:
134134
if isSingleProgramDump(message):
135135
program_lsb = program_number & 0x7f
136136
program_msb = (program_number >> 7) & 0x7f
@@ -141,7 +141,7 @@ def convertToProgramDump_old(channel: int, message: List[int], program_number: i
141141
raise Exception("Can only convert Pro-800 single program dumps")
142142

143143

144-
def convertToProgramDump(channel: int, message: List[int], program_number: int) -> List[int]:
144+
def convertToProgramDump2(channel: int, message: List[int], program_number: int) -> List[int]:
145145
# New behavior: instead of re-encoding the sysex with a different program number,
146146
# produce a stream of MIDI CC messages that set all supported parameters to the
147147
# values contained in the given program dump.

0 commit comments

Comments
 (0)