- print note.name, note.octave, note.midi, note.duration
+ if printNotes :
+ print note.name, note.midi, note.duration, note.lyric
+ midiNotes.append(note.midi)
+ durations.append(note.duration)
+ lyrics.append(note.lyric)
+
+ song = Song(None,
+ midiNoteNumbers = midiNotes,
+ noteLengths = durations,
+ lyrics = lyrics,
+ notesInExtendedScale=None)
+ song.save(output)