aboutsummaryrefslogtreecommitdiff
path: root/deltas-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'deltas-help.pd')
-rw-r--r--deltas-help.pd34
1 files changed, 34 insertions, 0 deletions
diff --git a/deltas-help.pd b/deltas-help.pd
new file mode 100644
index 0000000..9034308
--- /dev/null
+++ b/deltas-help.pd
@@ -0,0 +1,34 @@
+#N canvas 553 310 489 262 10;
+#X text 390 239 j#|@2002;
+#X obj 412 217 SMLib-help;
+#X floatatom 14 74 5 0 0;
+#X obj 12 165 print deltas;
+#X floatatom 68 108 5 0 0;
+#X floatatom 120 107 5 0 0;
+#X obj 24 104 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 12 138 deltas 1 10 10;
+#X obj 14 54 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X text 9 4 deltas: generates vector with differences between last
+input and past inputs;
+#X text 9 186 x(i)-x(i-a);
+#X text 9 200 x(i)-x(i-(a+1));
+#X text 9 214 x(i)-x(i-(a+2));
+#X text 9 240 x(i)-x(i-(b));
+#X text 7 225 ...;
+#X text 153 137 [deltas a b c];
+#X text 120 86 b;
+#X text 66 87 a;
+#X text 152 183 requires b<=c;
+#X text 152 167 c = buffer size;
+#X text 35 50 x(i);
+#X msg 79 57 clear;
+#X connect 2 0 6 0;
+#X connect 2 0 7 0;
+#X connect 4 0 7 1;
+#X connect 5 0 7 2;
+#X connect 6 0 7 0;
+#X connect 7 0 3 0;
+#X connect 8 0 2 0;
+#X connect 21 0 7 0;