I have been scratching my head for days, trying to work out the best way to do the following:
1. Store a sound in buffer
2. Play sound at varying rates according to tempo (pref w/o pitch change)
3. Play sound in varying time signatures by shortening the loop length (eg. from 16/16 to 14/16)
- but then allowing the full loop length to be restored afterwards.
I basically want a buffer playback system to match up to the array of LEDs at the bottom! (see patch).
I have tried using a phasor~ synced to the transport, to control wave~ playback rate, but I cant figure out how to get the loop length to sync with the transport.
I have also tried groove~ but can't figure out the scaling for the playback rate.