示例#1
0
文件: note.py 项目: ieaalto/CCProject
 def __repr__(self):
     return midi_to_notation(self.pitch) + "/" + str(self.beats)
示例#2
0
文件: note.py 项目: ieaalto/CCProject
 def get_pitch_as_notation(self):
     '''
     Returns the pitch in notation, for instance 'd5'.
     :return:
     '''
     return midi_to_notation(self.pitch)