mingus.containers.Piano¶
-
mingus.containers.Piano.clef¶ Attribute of type: str
'bass and treble'
-
mingus.containers.Piano.name¶ Attribute of type: str
'Piano'
-
mingus.containers.Piano.range¶ Attribute of type: tuple
('F-0', 'B-8')
-
mingus.containers.Piano.tuning¶ Attribute of type: NoneType
None
-
mingus.containers.Piano.__init__(self)¶
-
mingus.containers.Piano.__repr__(self)¶ Return a string representing the object.
-
mingus.containers.Piano.can_play_notes(self, notes)¶ Test if the notes lie within the range of the instrument.
Return True if so, False otherwise.
-
mingus.containers.Piano.note_in_range(self, note)¶ Test whether note is in the range of this Instrument.
Return True if so, False otherwise.
-
mingus.containers.Piano.notes_in_range(self, notes)¶ An alias for can_play_notes.
-
mingus.containers.Piano.set_range(self, range)¶ Set the range of the instrument.
A range is a tuple of two Notes or note strings.