From: pin Date: Mon, 15 Mar 2010 16:45:58 +0000 (+0000) Subject: commentaires-- X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/commitdiff_plain/1bdf29a0b4412135ee91f6165e3c3125e05096f8?ds=inline commentaires-- git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@87 fe552daf-6dbe-4428-90eb-1537e0879342 --- diff --git a/src/app/musicxml.py b/src/app/musicxml.py index 36a65bc..49e1984 100755 --- a/src/app/musicxml.py +++ b/src/app/musicxml.py @@ -280,37 +280,10 @@ class Note(Tone) : self._duration = self.duration + note.duration self.divisions = 1 -# @property -# def midi(self) : -# mid = DIATO_SCALE[self.step] -# mid = mid + (self.octave - OCTAVE_REF) * 12 -# mid = mid + self.alter -# return mid - @property def duration(self) : return self._duration / self.divisions -# @property -# def name(self) : -# name = '%s%d' % (self.step, self.octave) -# if self.alter < 0 : -# alterext = 'b' -# else : -# alterext = '#' -# name = '%s%s' % (name, abs(self.alter) * alterext) -# return name -# -# @property -# def nom(self) : -# name = FR_NOTES[self.step] -# if self.alter < 0 : -# alterext = 'b' -# else : -# alterext = '#' -# name = '%s%s' % (name, abs(self.alter) * alterext) -# return name - @property def column(self): return self.scale.index(self.midi)