maybe you can have a look at this tool:
It loops the current pattern until you select new tracks/whole pattern. Midi support soon.