X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/ca8b7eef543b27ef0c8928494a6e138d0f938aa1..d3b1dcc8991d9b0110133abe6eeb43f69848a78d:/src/songs/xml2smwi.py?ds=inline diff --git a/src/songs/xml2smwi.py b/src/songs/xml2smwi.py index 136970d..2594210 100755 --- a/src/songs/xml2smwi.py +++ b/src/songs/xml2smwi.py @@ -43,7 +43,7 @@ def main() : midiNoteNumbers = [] noteLengths = [] lyrics = [] - for note, verseIndex in part.iterNotes(indefinitely=False) : + for note, verseIndex in part.iterNotes() : midiNoteNumbers.append(note.midi) noteLengths.append(note.duration) lyrics.append(note.lyrics[verseIndex].syllabus())