mingus.containers.Guitar¶
-
mingus.containers.Guitar.
clef
¶ Attribute of type: str
'Treble'
-
mingus.containers.Guitar.
name
¶ Attribute of type: str
'Guitar'
-
mingus.containers.Guitar.
range
¶ Attribute of type: tuple
('E-3', 'E-7')
-
mingus.containers.Guitar.
tuning
¶ Attribute of type: NoneType
None
-
mingus.containers.Guitar.
__init__
(self)¶
-
mingus.containers.Guitar.
__repr__
(self)¶ Return a string representing the object.
-
mingus.containers.Guitar.
can_play_notes
(self, notes)¶
-
mingus.containers.Guitar.
note_in_range
(self, note)¶ Test whether note is in the range of this Instrument.
Return True if so, False otherwise.
-
mingus.containers.Guitar.
notes_in_range
(self, notes)¶ An alias for can_play_notes.
-
mingus.containers.Guitar.
set_range
(self, range)¶ Set the range of the instrument.
A range is a tuple of two Notes or note strings.