+2004-12-11 Paul Brossier <piem@altern,org>
+ * swig/Makefile.am: instructions moved to python/aubio and cleaned
+ * python/aubiocut: corrected slicing on multichannel files
+ * VERSION: bumped to 0.1.8
+
2004-12-06 Paul Brossier <piem@altern.org>
* examples/{midi*,testforclam}.c: removed
+ * src/{sndfile,midi*,jackio}.[ch]: moved to ext
2004-12-03 Paul Brossier <piem@altern.org>
* src/{mathutils,pitchyin}.h: got rid of some shadowed declarations
2004-10-28 Paul Brossier <piem@altern.org>
* src/Makefile.am: added config.h installation
+ * VERSION: 0.1.7.1
2004-10-26 Paul Brossier <piem@altern.org>:
* src/pitchdetection.*: moved to src/pitchmcomb.*, now includes a
AUBIO_MAJOR_VERSION=0
AUBIO_MINOR_VERSION=1
-AUBIO_PATCH_VERSION=7
-AUBIO_VERSION_STATUS=.2
+AUBIO_PATCH_VERSION=8
+AUBIO_VERSION_STATUS=
aubionotes.sgml aubioonset.sgml
man_MANS = aubionotes.1 aubioonset.1
+CLEANFILES = $(man_MANS)
#docbook_docs = aubio-devdoc.xml
#DOCBOOK_STYLESHEET ?= http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
man_MANS = aubionotes.1 aubioonset.1
+CLEANFILES = $(man_MANS)
subdir = doc
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
mostlyclean-generic:
clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-rm -f $(CONFIG_CLEAN_FILES)
-EXTRA_DIST = aubio_priv.h
-
pkginclude_HEADERS = aubioext.h \
jackio.h \
sndfileio.h \
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-EXTRA_DIST = aubio_priv.h
-
pkginclude_HEADERS = aubioext.h \
jackio.h \
sndfileio.h \
#SUBDIRS = ladspa vst win
## Make and install the shared library.
-pdinstalldir = $(pddir)/extra/aubio
+pdinstalldir = $(pddir)/extra
# Automake won't accept something ending in ".pd_linux" as a library
pdinstall_PROGRAMS = aubioonset~.pd_linux
## My kludge
noinst_SCRIPTS = libtoolkludge
-## version.h is there for the Windows platform (no autoconf)
-EXTRA_DIST = $(pdinstall_DATA) $(noinst_SCRIPTS) version.h
+EXTRA_DIST = $(pdinstall_DATA) $(noinst_SCRIPTS)
pddir = $(PDDIR)
#SUBDIRS = ladspa vst win
-pdinstalldir = $(pddir)/extra/aubio
+pdinstalldir = $(pddir)/extra
# Automake won't accept something ending in ".pd_linux" as a library
pdinstall_PROGRAMS = aubioonset~.pd_linux
noinst_SCRIPTS = libtoolkludge
-EXTRA_DIST = $(pdinstall_DATA) $(noinst_SCRIPTS) version.h
+EXTRA_DIST = $(pdinstall_DATA) $(noinst_SCRIPTS)
subdir = plugins/puredata
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
#! /bin/sh
+# added --mode=link
if test \( $# -gt 1 \) -a \( $1 = "--mode=link" \); then
shift;
echo " libtoolkludge running \"$*\""
$*
exit 0
+elif test \( $# -gt 1 \) -a \( $1 = "--mode=install" \); then
+ shift;
+ echo " libtoolkludge running \"$*\""
+ $*
+ exit 0
else
echo "Libtoolkludge is a kludge for libtool --mode=install only. Die!" >&2
exit 1
-EXTRA_DIST = __init__.py onsetcompare.py aubioclass.py gnuplot.py\
- median.py txtfile.py
-
pkgpython_PYTHON = __init__.py onsetcompare.py\
gnuplot.py median.py txtfile.py aubioclass.py
+
+nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so
+
+CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py
+
+all: _aubiowrapper.so
+
+SWIG = swig
+# removed -Wall -Wmissing-prototypes -Wmissing-declarations
+SWCFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts -Wno-unknown-pragmas -I/usr/include/python2.3 -I../../src -I../../ext -I/usr/include
+SWLDFLAGS = -shared -L../../ext/.libs -laubioext -L../../src/.libs -laubio
-clean:
- rm -f *.pyc
+aubio_wrap.c:
+ $(SWIG) -outdir . -o aubio_wrap.c -python ../../swig/aubio.i
-distclean: clean
+_aubiowrapper.so: aubio_wrap.c
+ $(CC) $(SWCFLAGS) -c aubio_wrap.c
+ $(CC) $(SWLDFLAGS) aubio_wrap.o -o _aubiowrapper.so
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-EXTRA_DIST = __init__.py onsetcompare.py aubioclass.py gnuplot.py\
- median.py txtfile.py
-
-
pkgpython_PYTHON = __init__.py onsetcompare.py\
gnuplot.py median.py txtfile.py aubioclass.py
+
+nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so
+
+CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py
+
+SWIG = swig
+# removed -Wall -Wmissing-prototypes -Wmissing-declarations
+SWCFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts -Wno-unknown-pragmas -I/usr/include/python2.3 -I../../src -I../../ext -I/usr/include
+SWLDFLAGS = -shared -L../../ext/.libs -laubioext -L../../src/.libs -laubio
subdir = python/aubio
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
distclean-libtool:
-rm -f libtool
uninstall-info-am:
+nodist_pkgpythonPYTHON_INSTALL = $(INSTALL_DATA)
+install-nodist_pkgpythonPYTHON: $(nodist_pkgpython_PYTHON)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(pkgpythondir)
+ @list='$(nodist_pkgpython_PYTHON)'; dlist=''; for p in $$list; do\
+ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
+ if test -f $$b$$p; then \
+ d=`echo "$$p" | sed -e 's,^.*/,,'`; \
+ dlist="$$dlist $$d"; \
+ echo " $(nodist_pkgpythonPYTHON_INSTALL) $$b$$p $(DESTDIR)$(pkgpythondir)/$$d"; \
+ $(nodist_pkgpythonPYTHON_INSTALL) $$b$$p $(DESTDIR)$(pkgpythondir)/$$d; \
+ else :; fi; \
+ done; \
+ PYTHON=$(PYTHON) $(py_compile) --basedir $(DESTDIR)$(pkgpythondir) $$dlist
+
+uninstall-nodist_pkgpythonPYTHON:
+ @$(NORMAL_UNINSTALL)
+ list='$(nodist_pkgpython_PYTHON)'; for p in $$list; do \
+ d=`echo "$$p" | sed -e 's,^.*/,,'`; \
+ rm -f $(DESTDIR)$(pkgpythondir)/$$d; \
+ rm -f $(DESTDIR)$(pkgpythondir)/$${d}c; \
+ rm -f $(DESTDIR)$(pkgpythondir)/$${d}o; \
+ done
pkgpythonPYTHON_INSTALL = $(INSTALL_DATA)
install-pkgpythonPYTHON: $(pkgpython_PYTHON)
@$(NORMAL_INSTALL)
all-am: Makefile
installdirs:
- $(mkinstalldirs) $(DESTDIR)$(pkgpythondir)
+ $(mkinstalldirs) $(DESTDIR)$(pkgpythondir) $(DESTDIR)$(pkgpythondir)
install: install-am
install-exec: install-exec-am
install-data: install-data-am
mostlyclean-generic:
clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-rm -f $(CONFIG_CLEAN_FILES)
info-am:
-install-data-am: install-pkgpythonPYTHON
+install-data-am: install-nodist_pkgpythonPYTHON install-pkgpythonPYTHON
install-exec-am:
ps-am:
-uninstall-am: uninstall-info-am uninstall-pkgpythonPYTHON
+uninstall-am: uninstall-info-am uninstall-nodist_pkgpythonPYTHON \
+ uninstall-pkgpythonPYTHON
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
distclean distclean-generic distclean-libtool distdir dvi \
dvi-am info info-am install install-am install-data \
install-data-am install-exec install-exec-am install-info \
- install-info-am install-man install-pkgpythonPYTHON \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- uninstall uninstall-am uninstall-info-am \
+ install-info-am install-man install-nodist_pkgpythonPYTHON \
+ install-pkgpythonPYTHON install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
+ uninstall-info-am uninstall-nodist_pkgpythonPYTHON \
uninstall-pkgpythonPYTHON
-clean:
- rm -f *.pyc
+all: _aubiowrapper.so
+
+aubio_wrap.c:
+ $(SWIG) -outdir . -o aubio_wrap.c -python ../../swig/aubio.i
-distclean: clean
+_aubiowrapper.so: aubio_wrap.c
+ $(CC) $(SWCFLAGS) -c aubio_wrap.c
+ $(CC) $(SWLDFLAGS) aubio_wrap.o -o _aubiowrapper.so
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
writesize = fileo.write(zerocross,myvec)
fromcross = 0
while (zerocross < readsize):
- mycopy.set(myvec.get(zerocross,0),fromcross,0)
+ for i in range(channels):
+ mycopy.set(myvec.get(zerocross,i),fromcross,i)
fromcross += 1
zerocross += 1
del fileo
+# see ../python/Makefile.am
EXTRA_DIST = aubio.i
-
-PYTHON_DIR = ../python/aubio
-SWIG = swig
-#SW_FLAGS = -c++
-# removed -Wall -Wmissing-prototypes -Wmissing-declarations
-SW_CFLAGS = -DJACK_SUPPORT -shared -Werror -Wno-char-subscripts -Wno-unknown-pragmas
-#SW_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations
-SWINCLUDE = -I/usr/include/python2.3 -I../src -I../ext -I/usr/include
-SWLDFLAGS = -L../ext/.libs -laubioext -L../src/.libs -laubio
-
-all:
- $(SWIG) $(SW_FLAGS) -outdir $(PYTHON_DIR) -python aubio.i
- $(CC) $(SW_CFLAGS) -c aubio_wrap.c $(SWINCLUDE)
- $(CC) $(SW_CFLAGS) aubio_wrap.o -o $(PYTHON_DIR)/_aubiowrapper.so $(SWLDFLAGS)
-
-install:
- $(mkinstalldirs) $(DESTDIR)$(pkgpythondir)
- $(INSTALL) $(PYTHON_DIR)/_aubiowrapper.so $(DESTDIR)$(pkgpythondir)
- $(INSTALL) -m644 $(PYTHON_DIR)/aubiowrapper.py $(DESTDIR)$(pkgpythondir)
-
-clean:
- rm -f aubio_wrap.{c,o} $(PYTHON_DIR)/{_aubiowrapper.so,aubiowrapper.py,aubiowrapper.pyc}
-
-distclean: clean
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-EXTRA_DIST = aubio.i
-PYTHON_DIR = ../python/aubio
-SWIG = swig
-#SW_FLAGS = -c++
-# removed -Wall -Wmissing-prototypes -Wmissing-declarations
-SW_CFLAGS = -DJACK_SUPPORT -shared -Werror -Wno-char-subscripts -Wno-unknown-pragmas
-#SW_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations
-SWINCLUDE = -I/usr/include/python2.3 -I../src -I../ext -I/usr/include
-SWLDFLAGS = -L../ext/.libs -laubioext -L../src/.libs -laubio
+# see ../python/Makefile.am
+EXTRA_DIST = aubio.i
subdir = swig
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
all-am: Makefile
installdirs:
+install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
uninstall-info-am
-
-all:
- $(SWIG) $(SW_FLAGS) -outdir $(PYTHON_DIR) -python aubio.i
- $(CC) $(SW_CFLAGS) -c aubio_wrap.c $(SWINCLUDE)
- $(CC) $(SW_CFLAGS) aubio_wrap.o -o $(PYTHON_DIR)/_aubiowrapper.so $(SWLDFLAGS)
-
-install:
- $(mkinstalldirs) $(DESTDIR)$(pkgpythondir)
- $(INSTALL) $(PYTHON_DIR)/_aubiowrapper.so $(DESTDIR)$(pkgpythondir)
- $(INSTALL) -m644 $(PYTHON_DIR)/aubiowrapper.py $(DESTDIR)$(pkgpythondir)
-
-clean:
- rm -f aubio_wrap.{c,o} $(PYTHON_DIR)/{_aubiowrapper.so,aubiowrapper.py,aubiowrapper.pyc}
-
-distclean: clean
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: