aboutsummaryrefslogtreecommitdiff
path: root/examples/puredata
diff options
context:
space:
mode:
Diffstat (limited to 'examples/puredata')
-rw-r--r--examples/puredata/Makefile.am22
-rw-r--r--examples/puredata/xtract~.c2
2 files changed, 2 insertions, 22 deletions
diff --git a/examples/puredata/Makefile.am b/examples/puredata/Makefile.am
index dda94f4..ec5c197 100644
--- a/examples/puredata/Makefile.am
+++ b/examples/puredata/Makefile.am
@@ -14,35 +14,15 @@ xtract_@PD_SUFFIX@_SOURCES = xtract~.c
pdincludedir = $(pddir)/src
-#LIBTOOL=$(SHELL) $(srcdir)/libtoolkludge
-
INCLUDES = -I$(top_srcdir)/src -I$(pdincludedir)
-#AM_CFLAGS = -DPD -fPIC -DPIC
-#AM_LDFLAGS = -L$(top_builddir)/src/.libs -lxtract -export_dynamic -shared
-
AM_CFLAGS = @PD_CFLAGS@
AM_LDFLAGS = @PD_LDFLAGS@ -lxtract -L$(top_builddir)/src/
## Install the documentation.
install:
+ install -d $(pdinstalldir)
install -m 644 $(top_builddir)/examples/puredata/.libs/xtract.@PD_SUFFIX@ $(pdinstalldir)/xtract~.@PD_SUFFIX@
install -d $(pddir)/doc/5.reference/xtract
cp xtract/* $(PDDIR)/doc/5.reference/xtract
-
-#pdinstallref_DATA = \
-# help/aubioonset-help.pd \
-# help/aubioquiet-help.pd \
-# help/aubiotempo-help.pd \
-# help/aubiotss-help.pd \
-# help/aubiopitch-help.pd
-#
-#pdinstallexp_DATA = \
-# examples/onset-cam.pd
-#
-### My kludge
-#noinst_SCRIPTS = libtoolkludge
-#
-#EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA) $(noinst_SCRIPTS)
-
diff --git a/examples/puredata/xtract~.c b/examples/puredata/xtract~.c
index 04d1079..3e855c7 100644
--- a/examples/puredata/xtract~.c
+++ b/examples/puredata/xtract~.c
@@ -187,10 +187,10 @@ static void *xtract_new(t_symbol *me, t_int argc, t_atom *argv) {
case TRISTIMULUS_2:
case TRISTIMULUS_3:
case SMOOTHNESS:
+ case FLATNESS:
case SPREAD:
case ZCR:
case LOUDNESS:
- case FLATNESS:
case CREST:
case NOISINESS:
case RMS_AMPLITUDE: