summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3d19c4c)
def __str__(self) :
return (u'%5s %2s %2d %4s' % (self.nom, self.name, self.midi, round(self.duration, 2))).encode('utf-8')
def __str__(self) :
return (u'%5s %2s %2d %4s' % (self.nom, self.name, self.midi, round(self.duration, 2))).encode('utf-8')
+ def __repr__(self) :
+ return self.name.encode('utf-8')
def addDuration(self, note) :
self._duration = self.duration + note.duration
def addDuration(self, note) :
self._duration = self.duration + note.duration