We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04b5c6 commit 45a55c4Copy full SHA for 45a55c4
examples/midi_inoutdemo.py
@@ -40,7 +40,7 @@
40
# For any other known event just forward it
41
if isinstance(msg_in, NoteOn) and msg_in.velocity != 0:
42
print("Playing major chord with root", msg_in.note,
43
- "from channel", msg.channel + 1)
+ "from channel", msg_in.channel + 1)
44
for offset in major_chord:
45
new_note = msg_in.note + offset
46
if 0 <= new_note <= 127:
0 commit comments