#N canvas 552 267 685 337 12; #X msg 268 277 bang; #X obj 244 303 print~; #X msg 185 278 bang; #X obj 161 304 print~; #X text 53 117 click here first; #X msg 72 270 bang; #X obj 48 296 print~; #X text 162 222 shift left; #X text 243 224 shift right; #X obj 161 252 lrshift~ 1; #X obj 244 251 lrshift~ -1; #X text 39 37 Acting at whatever vector size the window is running at \, lrshift~ shifts samples to the left (toward the beginning sample) or to the right. The argument gives the direction and the amount of the shift. The rightmost (or leftmost) samples are set to zero.; #N canvas 0 0 450 300 (subpatch) 0; #X array shiftin 64 float 0; #X coords 0 1 63 0 200 140 1; #X restore 448 118 graph; #X text 115 11 -- shift signal vector elements left or right; #X msg 54 138 \; pd dsp 1 \; shiftin 1 1; #X obj 48 204 tabreceive~ shiftin; #X text 525 308 Updated for Pd 0.31.; #X obj 47 11 lrshift~; #X floatatom 339 209 5 0 0 0 - - -; #X msg 363 277 bang; #X obj 339 303 print~; #X text 277 186 change shift amount; #X obj 339 251 lrshift~; #X connect 0 0 1 0; #X connect 2 0 3 0; #X connect 5 0 6 0; #X connect 9 0 3 0; #X connect 10 0 1 0; #X connect 15 0 6 0; #X connect 15 0 9 0; #X connect 15 0 10 0; #X connect 15 0 22 0; #X connect 18 0 22 0; #X connect 19 0 20 0; #X connect 22 0 20 0;