add Makefile for bench-pitch
authorPaul Brossier <piem@altern.org>
Fri, 17 Feb 2006 17:42:04 +0000 (17:42 +0000)
committerPaul Brossier <piem@altern.org>
Fri, 17 Feb 2006 17:42:04 +0000 (17:42 +0000)
add Makefile for bench-pitch

configure.ac
python/test/bench/pitch/Makefile.am [new file with mode: 0644]
python/test/bench/pitch/bench-pitch [moved from python/bench-pitch with 100% similarity]

index 2cce6463c4b655b264dbd9bfa0a8b5ab2b9d9cd4..e266e8b8cb927ddc4e11dc1f5af953c6b8d46914 100644 (file)
@@ -230,6 +230,7 @@ AC_OUTPUT([
                plugins/wavesurfer/Makefile
                 plugins/puredata/Makefile
                 python/test/bench/onset/Makefile
+                python/test/bench/pitch/Makefile
                 doc/Makefile
        ])
 
diff --git a/python/test/bench/pitch/Makefile.am b/python/test/bench/pitch/Makefile.am
new file mode 100644 (file)
index 0000000..cbd4035
--- /dev/null
@@ -0,0 +1,13 @@
+export BASEDIR=../../../..
+export PYTHONPATH=$(BASEDIR)/python
+export LD_LIBRARY_PATH=$(BASEDIR)/src/.libs:$(BASEDIR)/ext/.libs
+
+SOURCE = \
+       /archives/samples/pitch/isolated
+
+test-aubiopitch:         $(patsubst %, %.aubiopitch, $(SOURCE))
+
+%.aubiopitch: %
+       rm -f `basename $<`.aubiocut
+       ./bench-pitch $< #| tee `basename $<`.aubiocut
+       #diff `basename $<`.aubiocut.ref `basename $<`.aubiocut