10.1.5.3. StringInstrument

class Musica.Instrument.StringInstrument.InstrumentTunings(name, **tunings)[source]

Bases: object

__getitem__(tuning_name)[source]
__iter__()[source]
add(name, pitches)[source]
name
tunings
class Musica.Instrument.StringInstrument.String(pitch, length)[source]

Bases: object

__eq__(other)[source]
fret_position(i, from_nut=True)[source]
__hash__ = None
length
pitch
class Musica.Instrument.StringInstrument.StringInstrument(name, category, standard_tuning)[source]

Bases: Musica.Instrument.Instrument.Instrument

highest_pitche
lowest_pitche
number_of_strings
standard_tuning
tuning
class Musica.Instrument.StringInstrument.StringInstrumentTuningDatabase(yaml_path)[source]

Bases: object

__getitem__(instrument)[source]
_load()[source]
classmethod instance()[source]
___instance__ = None
instruments
class Musica.Instrument.StringInstrument.StringTuning(instrument, name, pitches)[source]

Bases: object

__eq__(other)[source]
__getitem__(index)[source]
__iter__()[source]
__len__()[source]
__hash__ = None
highest_pitche
instrument
lowest_pitche
name
number_of_strings
pitches