Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bspaans/python-mingus
/ can_play_notes
Method
can_play_notes
mingus/containers/instrument.py:119–122 ·
view source on GitHub ↗
(self, notes)
Source
from the content-addressed store, hash-verified
117
Instrument.__init__(self)
118
119
def
can_play_notes(self, notes):
120
if
len(notes) > 6:
121
return
False
122
return
Instrument.can_play_notes(self, notes)
123
124
125
class
MidiInstrument(Instrument):
Callers
2
add_notes
Method · 0.45
test_can_play_notes
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_can_play_notes
Method · 0.36