Example #1
0
 def symbol(self):
     """Readable symbol of the category's root."""
     return int_to_pitch_class(self.root)
Example #2
0
 def __unicode__(self):
     return unicode('%s%s' % (int_to_pitch_class(self.root), self.type))
Example #3
0
 def symbol(self):
     """Readable symbol of the category's root."""
     return int_to_pitch_class(self.root)
Example #4
0
 def __unicode__(self):
     return unicode('%s%s' % (int_to_pitch_class(self.root), self.type))
Example #5
0
 def _get_root_numeral(self):
     if self.roman:
         return int_to_chord_numeral(self._root)
     else:
         return int_to_pitch_class(self._root)