Skip to content

Commit

Permalink
[MKS70] Add accepting patches from the JX8P
Browse files Browse the repository at this point in the history
(cherry picked from commit 35bd819)
  • Loading branch information
christofmuc committed Nov 16, 2023
1 parent 79780d4 commit 703bfb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adaptations/Roland_MKS70V4.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
operation_vec_apr = 0x38 # Vecoven (OS 4) All Parameters
operation_vec_bld = 0x3a # Vecoven (OS 4) Bulk Dump

format_type_jx8p = 0x21
format_type_jx10 = 0b00100100 # = 0x24

patch_level = 0b00110000 # = 0x30
Expand Down Expand Up @@ -148,7 +149,7 @@ def isOperationMessage(message: List[int], operations: List[int]) -> bool:
if (message[0] == 0xF0 and
message[1] == roland_id and
message[2] in operations and
message[4] == format_type_jx10):
message[4] in [format_type_jx10, format_type_jx8p]):
return True
# If the message does not match the expected format, return False
return False
Expand Down

0 comments on commit 703bfb8

Please sign in to comment.