Steve Reich, Piano Phase
In Piano Phase, two musically identical motives are looped at slightly different tempos. The result is that the repeated material slides out of phase. When the two join again, the piece ends. This sampling patch allows a files to play at specified rates, automatically looping the file. Each patch gets a bank of nine samples.
Here is the "Reich" qlist:
Here the first (startup) event asks the first sample to read
"sample1.wav" into the first of the nine samples. The second event
starts the two loop players and the third stops them. The loop players
take arguments as commented on the patch; loop1, for example, gets:
0 0 comment --------------- STARTUP -----------------;
sample1-read sample1.wav;
0 1 comment --------------- EVENT 1 -------------------;
start-loop1 1590 60 100 1580 1 2753 0 5;
start-loop2 1580 60 100 1580 1 2753 0 5;
0 2 comment --------------- EVENT 2 -------------------;
stop-loop1 bang;
stop-loop2 bang;
1590 periodicity of loop
60 pitch of sample
100 amplitude of sample
1580 length of each playback in msec (increase this for overlap)
1 sample number (agrees with "sample1-read" message in qlist)
2753 where in sample to start (0 for beginning) in msec
0 envelope rise time, msec
5 envelope release time, msec