aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2006-12-23 11:38:02 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2006-12-23 11:38:02 +0000
commit2a2288fb0a2f8b7d6a50fdd5d4dbc12f827d3272 (patch)
treeedcde2b2da9e4ea824793046a56eb69ba7d6b100
parent72898d681120c0a0d46af2a118898c45c781b5cb (diff)
*** empty log message ***
svn path=/trunk/externals/mapping/; revision=7051
-rw-r--r--help/rec_play-help.pd32
-rw-r--r--rec_play.pd79
2 files changed, 111 insertions, 0 deletions
diff --git a/help/rec_play-help.pd b/help/rec_play-help.pd
new file mode 100644
index 0000000..d66affe
--- /dev/null
+++ b/help/rec_play-help.pd
@@ -0,0 +1,32 @@
+#N canvas 729 51 701 508 10;
+#X obj 41 41 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144
+-1 -1 7400 1;
+#X obj 41 327 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144
+-1 -1 1100 1;
+#X obj 41 179 / 127;
+#X obj 41 303 * 127;
+#X obj 76 202 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X text 96 202 rec;
+#X obj 112 219 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+1;
+#X msg 148 238 write test;
+#X msg 161 258 read test;
+#X text 346 152 arg1 : number of sample to record;
+#X text 346 172 arg2 : time between sample (ms);
+#X text 190 16 record and play stream of float;
+#X text 141 45 Warning : the save fonctionality work only if data are
+:;
+#X text 478 69 -1 < data < 1;
+#X text 255 242 write and load in a wave file;
+#X text 168 280 10s recording \, 10ms between data;
+#X text 132 219 play (loop);
+#X obj 41 279 rec_play 1000 10;
+#X connect 0 0 2 0;
+#X connect 2 0 17 0;
+#X connect 3 0 1 0;
+#X connect 4 0 17 1;
+#X connect 6 0 17 2;
+#X connect 7 0 17 3;
+#X connect 8 0 17 3;
+#X connect 17 0 3 0;
diff --git a/rec_play.pd b/rec_play.pd
new file mode 100644
index 0000000..deac54c
--- /dev/null
+++ b/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 41 47 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 12 0;
+#X connect 35 0 17 0;
+#X connect 36 0 35 0;
+#X connect 37 0 25 0;
+#X connect 38 0 25 0;