MCPcopy 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
125class MidiInstrument(Instrument):

Callers 2

add_notesMethod · 0.45
test_can_play_notesMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_can_play_notesMethod · 0.36