songFile = self.getSongFile()
song = musicXml2Song(songFile)
- duration = 0
- for note, verseIndex in song.iterNotes() :
- duration = duration + note.duration
- duration = duration * song.quarterNoteDuration # en milisecondes
+ duration = song.duration
return self._toTimeDelta(duration)
@statsresults