aboutsummaryrefslogtreecommitdiff
path: root/abs/sgn~.pd
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-03-22 20:58:25 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-03-22 20:58:25 +0000
commit2b60d55c919e7588f5aff15936e83c300b3660bb (patch)
tree14d860de7f28083d3756ad91b627de70f26788f6 /abs/sgn~.pd
parentc500bc542cb7cc78d6dac3f7da3bff626056b1aa (diff)
zexy-2.0:
- use of abstractions for objects that allow it - some objects are build both as externals and abstractions (as slower fallbacks) - code-layout is now 1:1 c-file<->object (this should allow for building of zexy as a collection of externals instead as a big library) - matrix-objects have moved to iemmatrix !! svn path=/trunk/externals/zexy/; revision=2641
Diffstat (limited to 'abs/sgn~.pd')
-rw-r--r--abs/sgn~.pd11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/sgn~.pd b/abs/sgn~.pd
new file mode 100644
index 0000000..8fb6d54
--- /dev/null
+++ b/abs/sgn~.pd
@@ -0,0 +1,11 @@
+#N canvas 491 108 450 300 10;
+#X obj 30 88 inlet~;
+#X obj 30 136 outlet~;
+#X text 33 169 using [expr~] is slower than doing it in C...;
+#X text 319 21 part of zexy;
+#X text 250 261 updated for zexy-2.0;
+#X obj 30 112 expr~ if ($v1<0 \, -1 \, if ($v1>0 \, 1 \, 0));
+#X text 36 44 [sgn~];
+#X text 33 187 therefore we _also_ provide [sgn~] as external.;
+#X connect 0 0 5 0;
+#X connect 5 0 1 0;