home/ atoms/ strudel-loopat

loopAt syncs a long audio sample to a given number of Strudel cycles

loopAt(n) time-stretches a sample so that it exactly fills n cycles, keeping it in sync with the pattern’s tempo regardless of the original sample’s tempo. This is essential for using loop recordings, since a 2-bar break recorded at 130 BPM would otherwise play at the wrong speed if the Strudel tempo differs. The function is patternable: loopAt(“<4 <1 2>>”) varies the sync length each cycle, creating pitch-shift artifacts that can be used musically. loopAt is the most common way to integrate found audio loops into live Strudel sets.

Examples

sound(“rhodes”).loopAt(2) — syncs the sample to exactly 2 cycles. sound(“rhodes*4”).loopAt(“<4 <1 2>>“).cut(1).iter(4).chop(“<1 1 2 4>“)

Assessment

Load a break sample, sync it with loopAt to 2 cycles, then vary the loopAt argument with a pattern value and describe the pitch effect.

“`loopAt` lets us sync a sample to a given number of cycles. This is especially helpful for working with loops”
corpus · music-code-strudel-worksheet-lucy-cheesman-peckham-digital · chunk 3