I want to remove the end of a midi file in order to have a file of 30 seconds for example.
I tried to compute on each track the total time value and to delete messages each time it is over 30 seconds. However, when I listen to it, it is still the same duration, the only difference is that there is a gap without sound in the middle of the file.
Does any one have an idea of how I can do it ?
Thank you!
Most likely, you forgot to remove some MetaMessages. Try this: