projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nommage des événements.
[minwii.git]
/
src
/
app
/
musicxml.py
diff --git
a/src/app/musicxml.py
b/src/app/musicxml.py
index
9302118
..
ec3be4a
100755
(executable)
--- a/
src/app/musicxml.py
+++ b/
src/app/musicxml.py
@@
-244,7
+244,7
@@
class Tone(object) :
def name(self) :
name = '%s%d' % (self.step, self.octave)
if self.alter < 0 :
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)
else :
alterext = '#'
name = '%s%s' % (name, abs(self.alter) * alterext)
@@
-254,10
+254,10
@@
class Tone(object) :
def nom(self) :
name = FR_NOTES[self.step]
if self.alter < 0 :
def nom(self) :
name = FR_NOTES[self.step]
if self.alter < 0 :
- alterext =
'b
'
+ alterext =
u'♭
'
else :
else :
- alterext = '#'
- name = '%s%s' % (name, abs(self.alter) * alterext)
+ alterext =
u
'#'
+ name =
u
'%s%s' % (name, abs(self.alter) * alterext)
return name
return name