Revised version of JuceAbletonMidiFilePlayer with automatic looping