Use the sliders to chop up this looping sample from Again and Again by The Bird and The Bee. The Small, Medium, and Large buttons will change the max value of each slider to let you play with slicing up the sample at different granularities.
Use the LoopBegin and LoopEnd sliders to set the beginning and ending loop points within the sample. When you move either loop point slider, the other's range will be adjusted such that you can't put the end loop point before the begin loop point.
Source code: loop_chopper
Built with Processing