Skip to content

Commit 7a3cc03

Browse files
committed
fixed held note error in mono note mode
1 parent 9e0eaca commit 7a3cc03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Hexpad/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def send_note_off(note_num):
199199
midi_usb.send(NoteOff(note_num+12, 0))
200200
else:
201201
note_num = root_notes[note_num] + (12*octv)
202-
midi_usb.send(NoteOff(note, 0))
202+
midi_usb.send(NoteOff(note_num, 0))
203203

204204
def send_midi_panic():
205205
for x in range(128):

0 commit comments

Comments
 (0)