aboutsummaryrefslogtreecommitdiff
path: root/examples/playsample~.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/playsample~.pd')
-rw-r--r--examples/playsample~.pd56
1 files changed, 56 insertions, 0 deletions
diff --git a/examples/playsample~.pd b/examples/playsample~.pd
new file mode 100644
index 0000000..bf2b06e
--- /dev/null
+++ b/examples/playsample~.pd
@@ -0,0 +1,56 @@
+#N canvas 27 300 849 403 10;
+#X obj 38 354 table \$0music;
+#X obj 148 160 soundfiler;
+#X floatatom 148 183 5 0 0;
+#X obj 243 207 phasor~ 1;
+#X floatatom 266 181 8 0 0;
+#X obj 243 237 *~ 0;
+#X msg 148 137 read -resize \$1 \$2;
+#X obj 199 83 symbol \$0music;
+#X obj 148 110 pack s s;
+#X obj 199 48 loadbang;
+#X obj 12 13 inlet;
+#X text 59 12 .aiff file name;
+#X obj 311 15 inlet;
+#X text 356 15 phasor speed;
+#X obj 243 334 outlet~;
+#X obj 243 267 tabread4~ \$0music;
+#X obj 302 83 samplerate~;
+#X floatatom 310 107 5 0 0;
+#X obj 460 14 inlet;
+#X text 505 14 gain;
+#X obj 243 306 *~ 1;
+#X obj 148 210 t b f;
+#X obj 148 232 f;
+#X obj 148 254 /;
+#X obj 419 334 outlet~;
+#X text 303 333 sample signal;
+#X text 483 334 phasor signal;
+#X msg 557 41 0;
+#X obj 557 16 inlet;
+#X text 601 16 restart;
+#X connect 1 0 2 0;
+#X connect 2 0 5 1;
+#X connect 2 0 21 0;
+#X connect 3 0 5 0;
+#X connect 3 0 24 0;
+#X connect 4 0 3 0;
+#X connect 5 0 15 0;
+#X connect 6 0 1 0;
+#X connect 7 0 8 1;
+#X connect 8 0 6 0;
+#X connect 9 0 7 0;
+#X connect 9 0 16 0;
+#X connect 10 0 8 0;
+#X connect 12 0 3 0;
+#X connect 15 0 20 0;
+#X connect 16 0 17 0;
+#X connect 16 0 22 1;
+#X connect 18 0 20 1;
+#X connect 20 0 14 0;
+#X connect 21 0 22 0;
+#X connect 21 1 23 1;
+#X connect 22 0 23 0;
+#X connect 23 0 4 0;
+#X connect 27 0 3 1;
+#X connect 28 0 27 0;