Code: Select all
track = [i for i,j in enumerate(self.song.parts) if self.partnumber == j][0]
I've encountered this before, mainly when trying to load a song with multiple lyric parts. Confirmed it when searching in this subforum. I make sure to only include one in the notes.mid file, and did the same for this song.
The MIDI file I'm using definitely has only one PART VOCALS track . I've checked it with other midi files I've exported that are of similar format (from the Reaper template I export from) and are confirmed to still work, nothing is radically different there. The vocal track itself seems fine with no obvious errors. Every note has a lyric and everything is under a phrase marker.
So, I can't really figure out what's wrong, or what else the error could be related to. It's very vague but I suppose if I had a stronger clue I'd be looking into it instead of asking for help. I'm just a bit lost as to where to go from here.