diff --git a/CHANGELOG.md b/CHANGELOG.md index c81e5ee9..52888900 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - bug fixes - launcher: link to the app's address is now clickable - sidepanel: layout glitches with iOS + - midi: `program` now works with the correct number of arguments - misc - some little style fixes diff --git a/app/main/midi.py b/app/main/midi.py index 525ab199..adfc88c4 100644 --- a/app/main/midi.py +++ b/app/main/midi.py @@ -216,7 +216,7 @@ class MidiRouter(object): channel = int(min(max(args[0],1), 16)) data1 = int(min(max(args[1],0), 127)) - data2 = int(min(max(args[2],0), 127)) + data2 = int(min(max(args[2],0), 127)) if len(args) >= 3 else 0 if 'note' in event: if data2 == 0: