We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9b2091 commit f1ceaa5Copy full SHA for f1ceaa5
adafruit_midi/note_off.py
@@ -37,6 +37,7 @@ class NoteOff(MIDIMessage): # pylint: disable=duplicate-code
37
38
def __init__(self, note, velocity=0, *, channel=None):
39
self.note = note_parser(note)
40
+ """ self.note: key, either int (0-127) or string that will be turned off """
41
self._velocity = velocity
42
super().__init__(channel=channel)
43
if not 0 <= self.note <= 127 or not 0 <= self._velocity <= 127:
0 commit comments