aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--puremapping/stop_stream-help.pd15
-rw-r--r--puremapping/stop_stream.pd20
2 files changed, 35 insertions, 0 deletions
diff --git a/puremapping/stop_stream-help.pd b/puremapping/stop_stream-help.pd
new file mode 100644
index 0000000..2d18e8f
--- /dev/null
+++ b/puremapping/stop_stream-help.pd
@@ -0,0 +1,15 @@
+#N canvas 530 260 527 246 10;
+#X floatatom 44 209 5 0 0 0 - - -;
+#X obj 67 103 stop_stream 100;
+#X floatatom 67 129 5 0 0 0 - - -;
+#X obj 44 72 random 111;
+#X obj 44 50 metro 50;
+#X obj 44 30 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
+;
+#X text 116 130 output the last value of a stream;
+#X text 119 154 argument 1 : max time between 2 data;
+#X connect 1 0 2 0;
+#X connect 3 0 0 0;
+#X connect 3 0 1 0;
+#X connect 4 0 3 0;
+#X connect 5 0 4 0;
diff --git a/puremapping/stop_stream.pd b/puremapping/stop_stream.pd
new file mode 100644
index 0000000..542e6c4
--- /dev/null
+++ b/puremapping/stop_stream.pd
@@ -0,0 +1,20 @@
+#N canvas 425 247 450 300 10;
+#X obj 149 58 t b f;
+#X obj 149 154 f;
+#X obj 149 106 delay 200;
+#X obj 149 19 inlet;
+#X obj 149 187 outlet;
+#X obj 200 18 loadbang;
+#X obj 200 65 sel 0;
+#X msg 200 86 200;
+#X obj 200 41 f \$1;
+#X connect 0 0 2 0;
+#X connect 0 1 1 1;
+#X connect 1 0 4 0;
+#X connect 2 0 1 0;
+#X connect 3 0 0 0;
+#X connect 5 0 8 0;
+#X connect 6 0 7 0;
+#X connect 6 1 2 1;
+#X connect 7 0 2 1;
+#X connect 8 0 6 0;