def __init__( self, instrument_name='alto saxophone', short_instrument_name='alt. sax.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[Db3, A5]', sounding_pitch_of_written_middle_c='Eb3', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'single reed player', 'saxophonist', ]) self._is_primary_instrument = True
def __init__( self, instrument_name='viola', short_instrument_name='va.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('alto', 'treble'), default_tuning=('C3', 'G3', 'D4', 'A4'), pitch_range='[C3, D6]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'string player', 'violist', ]) self._is_primary_instrument = True self._starting_clefs = indicatortools.ClefInventory(['alto']) self._default_tuning = indicatortools.Tuning(default_tuning)
def __init__( self, instrument_name='alto trombone', short_instrument_name='alt. trb.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('bass', 'tenor'), pitch_range='[A2, Bb5]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'brass player', 'trombonist', ]) self._starting_clefs = indicatortools.ClefInventory(['bass'])
def __init__( self, instrument_name='bassoon', short_instrument_name='bsn.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('bass', 'tenor'), pitch_range='[Bb1, Eb5]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'double reed player', 'bassoonist', ]) self._starting_clefs = indicatortools.ClefInventory(['bass']) self._is_primary_instrument = True
def __init__( self, instrument_name='bass clarinet', short_instrument_name='bass cl.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('treble', 'bass'), pitch_range='[Bb1, G5]', sounding_pitch_of_written_middle_c='Bb2', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'single reed player', 'clarinettist', 'clarinetist', ]) self._starting_clefs = indicatortools.ClefInventory(['treble'])
def __init__( self, instrument_name='harp', short_instrument_name='hp.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('treble', 'bass'), pitch_range='[B0, G#7]', sounding_pitch_of_written_middle_c=None, ): from abjad.tools import scoretools Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._default_scope = 'PianoStaff' self._performer_names.extend([ 'string player', 'harpist', ]) self._is_primary_instrument = True
def __init__( self, instrument_name='horn', short_instrument_name='hn.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('bass', 'treble'), pitch_range='[B1, F5]', sounding_pitch_of_written_middle_c='F3', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'brass player', 'hornist', ]) self._is_primary_instrument = True self._starting_clefs = indicatortools.ClefInventory(['bass'])
def __init__( self, instrument_name='trumpet', short_instrument_name='tp.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[F#3, D6]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'brass player', 'trumpeter', ]) self._is_primary_instrument = True
def __init__( self, instrument_name='baritone saxophone', short_instrument_name='bar. sax.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[C2, Ab4]', sounding_pitch_of_written_middle_c='Eb2', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'single reed player', 'saxophonist', ])
def __init__( self, instrument_name='cello', short_instrument_name='vc.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('bass', 'tenor', 'treble'), pitch_range='[C2, G5]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'string player', 'cellist', ]) self._starting_clefs = indicatortools.ClefInventory(['bass']) self._is_primary_instrument = True
def __init__( self, instrument_name='accordion', short_instrument_name='acc.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('treble', 'bass'), pitch_range='[E1, C8]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._default_scope = 'PianoStaff' self._performer_names.extend([ 'keyboardist', 'accordionist', ]) self._is_primary_instrument = True
def __init__( self, instrument_name='piccolo', short_instrument_name='picc.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[D5, C8]', sounding_pitch_of_written_middle_c='C5', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'flautist', 'flutist', ])
def __init__( self, instrument_name='violin', short_instrument_name='vn.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, default_tuning=('G3', 'D4', 'A4', 'E5'), pitch_range='[G3, G7]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'string player', 'violinist', ]) self._is_primary_instrument = True self._default_tuning = indicatortools.Tuning(default_tuning)
def __init__( self, instrument_name='guitar', short_instrument_name='gt.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, default_tuning=('E2', 'A2', 'D3', 'G3', 'B3', 'E4'), pitch_range='[E2, E5]', sounding_pitch_of_written_middle_c='C3', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'string player', 'guitarist', ]) self._is_primary_instrument = True self._default_tuning = indicatortools.Tuning(default_tuning)
def __init__( self, instrument_name='oboe', short_instrument_name='ob.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[Bb3, A6]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'double reed player', 'oboist', ]) self._is_primary_instrument = True
def __init__( self, instrument_name='bass trombone', short_instrument_name='bass trb.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('bass',), pitch_range='[C2, F4]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'brass player', 'trombonist', ])
def __init__( self, instrument_name='harpsichord', short_instrument_name='hpschd.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('treble', 'bass'), pitch_range='[C2, C7]', sounding_pitch_of_written_middle_c=None, ): from abjad.tools import scoretools Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._default_scope = scoretools.PianoStaff self._performer_names.extend([ 'keyboardist', 'harpsichordist' ]) self._is_primary_instrument = True
def __init__( self, instrument_name='contrabass clarinet', short_instrument_name='cbass. cl.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('treble', 'bass'), pitch_range='[Bb0, G4]', sounding_pitch_of_written_middle_c='Bb1', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'single reed player', 'clarinettist', 'clarinetist', ])
def __init__( self, instrument_name='soprano', short_instrument_name='sop.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[C4, E6]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'vocalist', 'soprano' ]) self._is_primary_instrument = True
def __init__( self, instrument_name='alto flute', short_instrument_name='alt. fl.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[G3, G6]', sounding_pitch_of_written_middle_c='G3', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'flautist', 'flutist', ]) self._starting_clefs = indicatortools.ClefInventory(['treble'])
def __init__( self, instrument_name='clarinet in A', short_instrument_name=r'cl. A \natural', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[Db3, A6]', sounding_pitch_of_written_middle_c='A3', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'single reed player', 'clarinettist', 'clarinetist', ])
def __init__( self, instrument_name='baritone', short_instrument_name='bar.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('bass', ), pitch_range='[A2, A4]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'vocalist', 'baritone', ]) self._is_primary_instrument = True
def __init__( self, instrument_name='alto', short_instrument_name='alto', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[F3, G5]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'vocalist', 'alto', ]) self._is_primary_instrument = True
def __init__( self, instrument_name='tenor trombone', short_instrument_name='ten. trb.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('tenor', 'bass'), pitch_range='[E2, Eb5]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'brass player', 'trombonist', ]) self._is_primary_instrument = True
def __init__( self, instrument_name='piano', short_instrument_name='pf.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('treble', 'bass'), pitch_range='[A0, C8]', sounding_pitch_of_written_middle_c=None, ): from abjad.tools import scoretools Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._default_scope = 'PianoStaff' self._performer_names.extend([ 'keyboardist', 'pianist', ]) self._is_primary_instrument = True
def __init__( self, instrument_name='contrabassoon', short_instrument_name='contrabsn.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('bass',), pitch_range='[Bb0, Bb4]', sounding_pitch_of_written_middle_c='C3', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'double reed player', 'bassoonist', ])
def __init__( self, instrument_name='clarinet in E-flat', short_instrument_name='cl. E-flat', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[F3, C7]', sounding_pitch_of_written_middle_c='Eb4', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'single reed player', 'clarinettist', 'clarinetist', ])
def __init__( self, instrument_name='English horn', short_instrument_name='Eng. hn.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[E3, C6]', sounding_pitch_of_written_middle_c='F3', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'double reed player', 'oboist', ])
def __init__( self, instrument_name='clarinet in B-flat', short_instrument_name='cl. in B-flat', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[D3, Bb6]', sounding_pitch_of_written_middle_c='Bb3', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'single reed player', 'clarinettist', 'clarinetist', ]) self._is_primary_instrument = True
def __init__( self, instrument_name='contrabass flute', short_instrument_name='cbass. fl.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[G2, G5]', sounding_pitch_of_written_middle_c='G2', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'flautist', 'flutist', ])
def __init__( self, instrument_name='contrabassoon', short_instrument_name='contrabsn.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('bass', ), pitch_range='[Bb0, Bb4]', sounding_pitch_of_written_middle_c='C3', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'wind player', 'reed player', 'double reed player', 'bassoonist', ])
def __init__( self, instrument_name='vibraphone', short_instrument_name='vibr.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[F3, F6]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'percussionist', 'vibraphonist', ])
def __init__( self, instrument_name="harp", short_instrument_name="hp.", instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=("treble", "bass"), pitch_range="[B0, G#7]", sounding_pitch_of_written_middle_c=None, ): from abjad.tools import scoretools Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=sounding_pitch_of_written_middle_c, ) self._default_scope = "PianoStaff" self._performer_names.extend(["string player", "harpist"]) self._is_primary_instrument = True
def __init__( self, instrument_name='xylophone', short_instrument_name='xyl.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[C4, C7]', sounding_pitch_of_written_middle_c='C5', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'percussionist', 'xylophonist', ])
def __init__( self, instrument_name='violin', short_instrument_name='vn.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[G3, G7]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'string player', 'violinist', ]) self._is_primary_instrument = True
def __init__( self, instrument_name='contrabass', short_instrument_name='vb.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('bass', 'treble'), default_tuning=('C1', 'A1', 'D2', 'G2'), pitch_range='[C1, G4]', sounding_pitch_of_written_middle_c='C3', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'string player', 'contrabassist', 'bassist', ]) self._is_primary_instrument = True self._starting_clefs = indicatortools.ClefInventory(['bass']) self._default_tuning = indicatortools.Tuning(default_tuning)
def __init__( self, instrument_name='cello', short_instrument_name='vc.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('bass', 'tenor', 'treble'), default_tuning=('C2', 'G2', 'D3', 'A3'), pitch_range='[C2, G5]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'string player', 'cellist', ]) self._starting_clefs = indicatortools.ClefInventory(['bass']) self._is_primary_instrument = True self._default_tuning = indicatortools.Tuning(default_tuning)
def __init__(self, **kwargs): Instrument.__init__(self, **kwargs) self._default_instrument_name = "viola" self._default_performer_names.extend(["string player", "violist"]) self._default_short_instrument_name = "va." self._is_primary_instrument = True self.sounding_pitch_of_written_middle_c = pitchtools.NamedPitch("c'") self._starting_clefs = [contexttools.ClefMark("alto")] self.allowable_clefs = [contexttools.ClefMark("alto"), contexttools.ClefMark("treble")] self._default_pitch_range = pitchtools.PitchRange(-12, 28)
def __init__(self, **kwargs): Instrument.__init__(self, **kwargs) self._default_instrument_name = "soprano saxophone" self._default_performer_names.extend(["wind player", "reed player", "single reed player", "saxophonist"]) self._default_short_instrument_name = "sop. sax." self._is_primary_instrument = False self.sounding_pitch_of_written_middle_c = pitchtools.NamedPitch("bf") self._starting_clefs = [contexttools.ClefMark("treble")] self._copy_default_starting_clefs_to_default_allowable_clefs() self._default_pitch_range = pitchtools.PitchRange(-4, 28)
def __init__( self, instrument_name='untuned percussion', short_instrument_name='perc.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('percussion', ), pitch_range=None, sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'percussionist', ])
def __init__( self, instrument_name='marimba', short_instrument_name='mb.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=('treble', 'bass'), pitch_range='[F2, C7]', sounding_pitch_of_written_middle_c=None, ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'percussionist', ])
def __init__( self, instrument_name='glockenspiel', short_instrument_name='gkspl.', instrument_name_markup=None, short_instrument_name_markup=None, allowable_clefs=None, pitch_range='[G5, C8]', sounding_pitch_of_written_middle_c='C6', ): Instrument.__init__( self, instrument_name=instrument_name, short_instrument_name=short_instrument_name, instrument_name_markup=instrument_name_markup, short_instrument_name_markup=short_instrument_name_markup, allowable_clefs=allowable_clefs, pitch_range=pitch_range, sounding_pitch_of_written_middle_c=\ sounding_pitch_of_written_middle_c, ) self._performer_names.extend([ 'percussionist', ])