working on parameterizing looping,playbackrate,loop duration, and starting point