VSE and audio only

Not sure if this question belongs here. I have taken a MIDI song file and created several separate .wav files from it, one for each MIDI track (instrument). When I add these tracks to Blender’s VSE, some of them are shorter than all the rest. Most of them are 6203 frames long, but a few are 6160 frames long. When I play the tracks, it all starts out OK, but this difference in lengths causes the shorter tracks to get out of sync with the rest, and this difference increases as the tracks play. Toward the end of the song, it sounds terrible as everything is very out of sync by then. If I hide (mute) the offending tracks, the rest sound fine throughout the song. How can I adjust only certain tracks so that they all sync correctly?

Are the files the same length when you look at them outside of Blender? In the OS, Windows Media Player, VLC etc.?

In the original software (Musescore2) the MIDI is all one file and it plays OK. I then split it into parts for each instrument. When I export those parts, the files are different sizes. When I play them in Blender, they start out all in synch, but then some of the tracks get behind as they play, over time. So by the end of the song, they are about 2-3 seconds off from each other.

So it’s a musescore problem?

Well, I wondered about that, but when I reload them as separate tracks into a new Musescore score, they are still all in sync. I tried doing some math about the differences that Blender showed (in seconds of length) and came up with a frame rate of 23.81, so I tried setting Blender to that rate and reloaded the strips. It helped a lot, but still not quite in sync toward the end.

So say the length of the song is 3:45. When you right click the individual track exports, is each instrument 3:45, or are the culprits slightly shorter or longer? I don’t care what Musescore2 or Blender thinks right now. Use VLC, WMM, Quicktime or Windows or whatever to see if the file lengths match up or not outside the pipeline.

That’s the difference between it being a playback issue and an issue with the file.

OK there are 20 individual tracks. Most of them are 4:16 long, but there are 4 or 5 that are 4:17, and 3 that are 4:18 long. They are also different file sizes on disk (41.1, 41.3, 41.4 and 41.5 MB).

Sounds like you’re not exporting them correctly from Musescore. You should probably try this forum instead as the problem seems to be with Musescore: https://musescore.org/en/forum