Looping midi player with a rest interface