aboutsummaryrefslogtreecommitdiff
path: root/abs
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-05 11:53:24 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-05 11:53:24 +0000
commit5c669899d3ccc8a60521e6bf8268f8f59fd3babb (patch)
tree6bb89a927cc55c4d3f33a9dd9b57dfe030fa82f6 /abs
parentea546340b2574b2179eb14c34f26dc4b4c11dfb7 (diff)
added [absgn~] as external (written by tim blechmann) and abstraction
the main purpose of this external is speed svn path=/trunk/externals/zexy/; revision=4364
Diffstat (limited to 'abs')
-rw-r--r--abs/absgn~-help.pd30
-rw-r--r--abs/absgn~.pd17
2 files changed, 47 insertions, 0 deletions
diff --git a/abs/absgn~-help.pd b/abs/absgn~-help.pd
new file mode 100644
index 0000000..4f718fd
--- /dev/null
+++ b/abs/absgn~-help.pd
@@ -0,0 +1,30 @@
+#N canvas 201 257 575 388 10;
+#X obj 92 103 sig~;
+#X text 272 20 part of zexy;
+#X obj 93 176 snapshot~;
+#X floatatom 93 204 5 0 0 0 - - -;
+#X obj 146 153 metro 100;
+#X obj 146 131 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+1;
+#X floatatom 92 81 5 0 0 0 - - -;
+#X text 16 243 note:;
+#X text 41 285 performance is worse than with the external version
+;
+#X text 45 315 if you want to use the external version of this object
+\, you have to load zexy;
+#X text 43 255 this is the abstraction version of this object \, which
+is using [expr~];
+#X obj 92 152 absgn~;
+#X text 349 61 updated for zexy-2.1;
+#X obj 163 176 snapshot~;
+#X floatatom 163 202 5 0 0 0 - - -;
+#X text 65 46 absolute value and signum of a signal;
+#X connect 0 0 11 0;
+#X connect 2 0 3 0;
+#X connect 4 0 2 0;
+#X connect 4 0 13 0;
+#X connect 5 0 4 0;
+#X connect 6 0 0 0;
+#X connect 11 0 2 0;
+#X connect 11 1 13 0;
+#X connect 13 0 14 0;
diff --git a/abs/absgn~.pd b/abs/absgn~.pd
new file mode 100644
index 0000000..873bbab
--- /dev/null
+++ b/abs/absgn~.pd
@@ -0,0 +1,17 @@
+#N canvas 0 0 482 310 10;
+#X obj 30 88 inlet~;
+#X obj 30 136 outlet~;
+#X text 319 21 part of zexy;
+#X obj 187 137 outlet~;
+#X obj 31 113 abs~;
+#X obj 187 113 sgn~;
+#X text 36 44 [absgn~];
+#X text 250 261 updated for zexy-2.1;
+#X text 41 183 [absgn~] \, [abs~] and [sgn~] are provided both as externals
+(fast!) and abstractions (slow!!) \; if you are using this abstraction
+of [absgn~] \, chances are high \, that [abs~] and [sgn~] are abstractions
+too.;
+#X connect 0 0 4 0;
+#X connect 0 0 5 0;
+#X connect 4 0 1 0;
+#X connect 5 0 3 0;