aboutsummaryrefslogtreecommitdiff
path: root/fifo-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-06-15 19:23:18 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 14:40:10 +0200
commit0e5dc72cdfa280063486c87d24b9f12ef0eadf5f (patch)
treea5c3312ad1e0953b6196810e724b234a53f509ec /fifo-help.pd
parentb271196dd58eadad7b9fdb2abd5d54cccca1e5ef (diff)
wrote replacement for maxlib's [fifo] but it handles floats, symbols, and symbolic atoms all together. Should be possible to make it handle lists too
svn path=/trunk/abstractions/purepd/; revision=5249
Diffstat (limited to 'fifo-help.pd')
-rw-r--r--fifo-help.pd25
1 files changed, 25 insertions, 0 deletions
diff --git a/fifo-help.pd b/fifo-help.pd
new file mode 100644
index 0000000..3c948fd
--- /dev/null
+++ b/fifo-help.pd
@@ -0,0 +1,25 @@
+#N canvas 281 463 454 304 10;
+#X msg 29 108 bang;
+#X obj 81 261 print;
+#X floatatom 134 263 5 0 0 0 - - -;
+#X msg 106 166 1;
+#X msg 166 166 3;
+#X obj 115 207 fifo 5;
+#X msg 136 166 two;
+#X msg 196 166 four;
+#X msg 238 166 5;
+#X msg 268 166 six;
+#X text 26 25 A First-In-First-Out ringbuffer for floats and symbols.
+The argument and cold inlet specify out many elements to store in the
+fifo.;
+#X text 65 108 bang to output oldest element;
+#X text 64 142 floats \, symbols \, and symbolic atoms are stored;
+#X connect 0 0 5 0;
+#X connect 3 0 5 0;
+#X connect 4 0 5 0;
+#X connect 5 0 2 0;
+#X connect 5 0 1 0;
+#X connect 6 0 5 0;
+#X connect 7 0 5 0;
+#X connect 8 0 5 0;
+#X connect 9 0 5 0;