Removing empty spaces on a recorded MIDI track

Hello, is there a function or shortcut to quickly delete blank spaces from a single recorded Midi track, leaving only recorded events from where they start to where they end ? Thank you.

Not meant for this purpose in the first place but if you export the MIDI track and reimport it all empty parts will be dissolved leaving just parts where something happens.
Not sure if this is what you want, though. This is just one way to do it.

1 Like