aboutsummaryrefslogtreecommitdiff
path: root/puremapping/rec_play.pd
diff options
context:
space:
mode:
Diffstat (limited to 'puremapping/rec_play.pd')
-rw-r--r--puremapping/rec_play.pd79
1 files changed, 79 insertions, 0 deletions
diff --git a/puremapping/rec_play.pd b/puremapping/rec_play.pd
new file mode 100644
index 0000000..7bd1290
--- /dev/null
+++ b/puremapping/rec_play.pd
@@ -0,0 +1,79 @@
+#N canvas 342 400 1018 507 10;
+#X obj 41 469 outlet;
+#X obj 79 217 table \$0-rec \$1;
+#X obj 199 21 inlet;
+#X obj 109 134 f;
+#X obj 109 155 + 1;
+#X obj 79 106 t f b;
+#X obj 354 27 inlet;
+#X obj 79 195 tabwrite \$0-rec;
+#X text 84 21 data;
+#X text 244 24 rec;
+#X text 401 29 play;
+#X obj 79 78 spigot 0;
+#X obj 41 256 spigot 1;
+#X obj 290 87 == 0;
+#X obj 180 394 tabread \$0-rec;
+#X obj 180 315 f;
+#X obj 192 342 + 1;
+#X obj 180 259 spigot 0;
+#X obj 375 89 sel 1;
+#X msg 375 114 0;
+#X obj 229 70 sel 1;
+#X msg 229 95 0;
+#X obj 180 284 b;
+#X text 716 54 arg1 : number of sample to record;
+#X text 716 74 arg2 : time between sample (ms);
+#X obj 491 283 soundfiler;
+#X obj 491 186 pack s s;
+#X obj 542 158 symbol \$0-rec;
+#X obj 542 130 loadbang;
+#X obj 491 69 route read write;
+#X obj 491 31 inlet;
+#X text 550 34 read / write;
+#X obj 632 200 pack s s;
+#X obj 192 370 mod \$1;
+#X obj 199 47 t f f;
+#X obj 59 45 resample \$2;
+#X obj 41 21 inlet;
+#X msg 632 226 write \$1 \$2;
+#X msg 491 220 read \$1.wav \$2;
+#X connect 2 0 34 0;
+#X connect 3 0 4 0;
+#X connect 4 0 3 1;
+#X connect 4 0 7 1;
+#X connect 5 0 7 0;
+#X connect 5 1 3 0;
+#X connect 6 0 13 0;
+#X connect 6 0 17 1;
+#X connect 6 0 18 0;
+#X connect 11 0 5 0;
+#X connect 12 0 0 0;
+#X connect 13 0 12 1;
+#X connect 14 0 0 0;
+#X connect 15 0 16 0;
+#X connect 15 0 14 0;
+#X connect 16 0 33 0;
+#X connect 17 0 22 0;
+#X connect 18 0 19 0;
+#X connect 19 0 15 1;
+#X connect 20 0 21 0;
+#X connect 21 0 3 1;
+#X connect 22 0 15 0;
+#X connect 26 0 38 0;
+#X connect 27 0 26 1;
+#X connect 27 0 32 1;
+#X connect 28 0 27 0;
+#X connect 29 0 26 0;
+#X connect 29 1 32 0;
+#X connect 30 0 29 0;
+#X connect 32 0 37 0;
+#X connect 33 0 15 1;
+#X connect 34 0 11 1;
+#X connect 34 1 20 0;
+#X connect 35 0 11 0;
+#X connect 35 0 17 0;
+#X connect 36 0 35 0;
+#X connect 36 0 12 0;
+#X connect 37 0 25 0;
+#X connect 38 0 25 0;