Esempio n. 1
0
 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)
Esempio n. 2
0
 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)
Esempio n. 3
0
 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)
Esempio n. 4
0
 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)