Skip to content

Commit 45a55c4

Browse files
author
Kevin J Walters
committed
midi_inoutdemo.py typo fix. #3
1 parent d04b5c6 commit 45a55c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/midi_inoutdemo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# For any other known event just forward it
4141
if isinstance(msg_in, NoteOn) and msg_in.velocity != 0:
4242
print("Playing major chord with root", msg_in.note,
43-
"from channel", msg.channel + 1)
43+
"from channel", msg_in.channel + 1)
4444
for offset in major_chord:
4545
new_note = msg_in.note + offset
4646
if 0 <= new_note <= 127:

0 commit comments

Comments
 (0)