コード例 #1
0
ファイル: syntax.py プロジェクト: johndpope/jazzparser
 def symbol(self):
     """Readable symbol of the category's root."""
     return int_to_pitch_class(self.root)
コード例 #2
0
ファイル: __init__.py プロジェクト: johndpope/jazzparser
 def __unicode__(self):
     return unicode('%s%s' % (int_to_pitch_class(self.root), self.type))
コード例 #3
0
ファイル: syntax.py プロジェクト: johndpope/jazzparser
 def symbol(self):
     """Readable symbol of the category's root."""
     return int_to_pitch_class(self.root)
コード例 #4
0
ファイル: __init__.py プロジェクト: johndpope/jazzparser
 def __unicode__(self):
     return unicode('%s%s' % (int_to_pitch_class(self.root), self.type))
コード例 #5
0
ファイル: __init__.py プロジェクト: johndpope/jazzparser
 def _get_root_numeral(self):
     if self.roman:
         return int_to_chord_numeral(self._root)
     else:
         return int_to_pitch_class(self._root)