aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2003-02-28 09:51:53 +0000
committerTom Schouten <doelie@users.sourceforge.net>2003-02-28 09:51:53 +0000
commit240da8f9db69b36778b5bc90701968935ff82413 (patch)
treeaf7bf6777678026939be5f3fa03b0bc9d8f6d5f7
parentd5032cebbca8ea62fe427fac9b6a98eeba1e647f (diff)
pdp abs
svn path=/trunk/externals/pdp/; revision=442
-rw-r--r--abstractions/pdp_invert.pd15
-rw-r--r--abstractions/pdp_sub.pd8
-rwxr-xr-xbin/pdp-config.in39
-rw-r--r--doc/examples/example07.pd73
-rw-r--r--include/pdp_config.h.in64
5 files changed, 199 insertions, 0 deletions
diff --git a/abstractions/pdp_invert.pd b/abstractions/pdp_invert.pd
new file mode 100644
index 0000000..b66ea45
--- /dev/null
+++ b/abstractions/pdp_invert.pd
@@ -0,0 +1,15 @@
+#N canvas 487 324 440 275 10;
+#X obj 34 51 inlet;
+#X obj 34 236 outlet;
+#X obj 34 173 pdp_gain;
+#X obj 34 100 pdp_cheby 1;
+#X msg 153 58 chan 1 \, coef 0 1 \, coef 1 -1;
+#X msg 153 96 u -1 \, v -1;
+#X obj 153 24 loadbang;
+#X connect 0 0 3 0;
+#X connect 2 0 1 0;
+#X connect 3 0 2 0;
+#X connect 4 0 3 0;
+#X connect 4 0 5 0;
+#X connect 5 0 2 0;
+#X connect 6 0 4 0;
diff --git a/abstractions/pdp_sub.pd b/abstractions/pdp_sub.pd
new file mode 100644
index 0000000..b4abe36
--- /dev/null
+++ b/abstractions/pdp_sub.pd
@@ -0,0 +1,8 @@
+#N canvas 577 543 450 300 10;
+#X obj 48 49 inlet;
+#X obj 118 47 inlet;
+#X obj 47 161 outlet;
+#X obj 48 104 pdp_mix2 1 -1;
+#X connect 0 0 3 0;
+#X connect 1 0 3 1;
+#X connect 3 0 2 0;
diff --git a/bin/pdp-config.in b/bin/pdp-config.in
new file mode 100755
index 0000000..2f3855d
--- /dev/null
+++ b/bin/pdp-config.in
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+prefix=@prefix@
+version=@PDP_VERSION@
+
+usage="\
+Usage: pdp-config [--version] [--cflags] [--libdir]"
+
+if test $# -eq 0; then
+ echo "${usage}" 1>&2
+ exit 1
+fi
+
+while test $# -gt 0; do
+ case "$1" in
+ -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+ *) optarg= ;;
+ esac
+
+ case $1 in
+ -n)
+ NEWLINE="-n"
+ ;;
+ --libdir)
+ echo $NEWLINE $prefix/lib/scaf
+ ;;
+ --version)
+ echo $NEWLINE $version
+ ;;
+ --cflags)
+ echo $NEWLINE -I$prefix/include/pdp
+ ;;
+ *)
+ echo "${usage}" 1>&2
+ exit 1
+ ;;
+ esac
+ shift
+done
diff --git a/doc/examples/example07.pd b/doc/examples/example07.pd
new file mode 100644
index 0000000..0c1ca8c
--- /dev/null
+++ b/doc/examples/example07.pd
@@ -0,0 +1,73 @@
+#N canvas 466 98 659 764 10;
+#X obj 18 649 pdp_xv;
+#X obj 17 58 pdp_noise;
+#X obj 16 14 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 17 325 pdp_add;
+#X obj 17 277 pdp_gain;
+#X obj 87 277 pdp_gain;
+#X floatatom 127 238 5 0 0;
+#X floatatom 174 238 5 0 0;
+#X obj 17 120 pdp_mix;
+#X floatatom 96 92 5 0 0;
+#X obj 16 35 metro 40;
+#X obj 17 87 pdp_grey;
+#X msg 96 70 0.8;
+#X floatatom 76 212 5 0 0;
+#X obj 105 375 pdp_del 1;
+#X msg 163 349 1;
+#X obj 17 440 pdp_add;
+#X obj 105 400 pdp_gain;
+#X floatatom 208 382 5 0 0;
+#X obj 17 243 pdp_blur;
+#X msg 133 69 1;
+#X floatatom 76 560 5 0 0;
+#X obj 17 591 pdp_blur;
+#X obj 18 619 pdp_gain;
+#X floatatom 101 594 5 0 0;
+#X msg 73 535 0.22;
+#X msg 208 358 -0.61;
+#X msg 132 214 4.3;
+#X msg 178 215 -6.69;
+#X msg 76 183 0.32;
+#X msg 130 566 4;
+#X text 287 386 subtract previous frame (time derivative);
+#X text 97 47 some noise to get started;
+#X text 235 216 construct a laplace like operator by blurring the image
+and subtractiong the original from it;
+#X text 371 12 a surface wave patch;
+#X floatatom 67 8 5 0 0;
+#X connect 1 0 11 0;
+#X connect 2 0 10 0;
+#X connect 3 0 16 0;
+#X connect 4 0 3 0;
+#X connect 5 0 3 1;
+#X connect 6 0 4 1;
+#X connect 7 0 5 1;
+#X connect 8 0 5 0;
+#X connect 8 0 14 0;
+#X connect 8 0 19 0;
+#X connect 9 0 8 2;
+#X connect 10 0 1 0;
+#X connect 11 0 8 0;
+#X connect 12 0 9 0;
+#X connect 13 0 19 1;
+#X connect 14 0 17 0;
+#X connect 15 0 14 1;
+#X connect 16 0 22 0;
+#X connect 16 0 8 1;
+#X connect 17 0 16 1;
+#X connect 18 0 17 1;
+#X connect 19 0 4 0;
+#X connect 20 0 9 0;
+#X connect 21 0 22 1;
+#X connect 22 0 23 0;
+#X connect 23 0 0 0;
+#X connect 24 0 23 1;
+#X connect 25 0 21 0;
+#X connect 26 0 18 0;
+#X connect 27 0 6 0;
+#X connect 28 0 7 0;
+#X connect 29 0 13 0;
+#X connect 30 0 24 0;
+#X connect 35 0 10 1;
diff --git a/include/pdp_config.h.in b/include/pdp_config.h.in
new file mode 100644
index 0000000..3ef59a3
--- /dev/null
+++ b/include/pdp_config.h.in
@@ -0,0 +1,64 @@
+/* include/pdp_config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if you have the `m' library (-lm). */
+#undef HAVE_LIBM
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* build pdp_qt */
+#undef HAVE_PDP_QT
+
+/* build pdp_sdl */
+#undef HAVE_PDP_SDL
+
+/* build pdp_v4l */
+#undef HAVE_PDP_V4L
+
+/* build pdp_xv */
+#undef HAVE_PDP_XV
+
+/* enable pwc v4l support */
+#undef HAVE_PWCV4L
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS