Exemplo n.º 1
0
 def __repr__(self):
     return midi_to_notation(self.pitch) + "/" + str(self.beats)
Exemplo n.º 2
0
 def get_pitch_as_notation(self):
     '''
     Returns the pitch in notation, for instance 'd5'.
     :return:
     '''
     return midi_to_notation(self.pitch)