Conversion of tick lengths with midi export

• Nov 25, 2016 - 14:42

For some analysis I would like to downsample a batch of midi files made with MuseScore. The normal resolution (ppq) of midi files with musescore is 480, downsampling to something like 120 should be no problem in most cases. However, I can't figure out how the musescore export does the conversion to ticks when exporting to Midi.

For example: with a resolution of 480, a quarter note usually becomes 479 ticks (the expected 480, but one tick goes to the start of the next note). However, I also see cases where a quarter note is converted to 478 ticks. Same goes for notes of other lengths.
Has anyone encountered this? Is there a good way to easily figure out those 'missing' ticks, or might it be better to look into other methods for downsampling?

Thanks!


Comments

In order to do more than guess, we'd need you to attach the score you are having problems with. Some things that can affect note length are the swing settings, articulations or slurs added to the notes, or edits made using the Pianoroll window. There can also be roundoff issues due to the presence of tuplets.

Do you still have an unanswered question? Please log in first to post your question.