It is possible to be very creative with MIDI. Since the data stream is simple and lightweight, the data can be manipulated in all sorts of interesting and musically relevant ways. Most DAWs have facilities for this. I use Apple Logic Pro X, which has an extensive MIDI environment where you can build small or large logical MIDI structures to cater for almost any need or situation.

Repeat Playlist OFF
Random Playlist OFF

Hit Play to check out new music

The Duet - Extended