added midi reversing, looping