From 2b60d55c919e7588f5aff15936e83c300b3660bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 22 Mar 2005 20:58:25 +0000 Subject: 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 --- abs/sgn~.pd | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 abs/sgn~.pd (limited to 'abs/sgn~.pd') 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; -- cgit v1.2.1