def name(self) :
name = '%s%d' % (self.step, self.octave)
if self.alter < 0 :
- alterext = 'b'
+ alterext = '♭'
else :
alterext = '#'
name = '%s%s' % (name, abs(self.alter) * alterext)
def nom(self) :
name = FR_NOTES[self.step]
if self.alter < 0 :
- alterext = 'b'
+ alterext = u'♭'
else :
- alterext = '#'
- name = '%s%s' % (name, abs(self.alter) * alterext)
+ alterext = u'#'
+ name = u'%s%s' % (name, abs(self.alter) * alterext)
return name