source: tests/demo/bench/pitch/Makefile.am @ 41ed384

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 41ed384 was 974dddc, checked in by Paul Brossier <piem@piem.org>, 16 years ago

move tests/python/demo to tests/, add localaubio.py module helpers

  • Property mode set to 100644
File size: 2.1 KB
Line 
1export AUBIODIR=../../../..
2export PYTHONPATH=$(AUBIODIR)/python
3export LD_LIBRARY_PATH=$(AUBIODIR)/src/.libs:$(AUBIODIR)/ext/.libs
4
5CP=cp -a
6
7SOURCE = \
8        $(BASEDIR)/isolated/vibraphone \
9        $(BASEDIR)/isolated/clavinet \
10        $(BASEDIR)/isolated/elecguitar \
11        $(BASEDIR)/isolated/piano \
12        $(BASEDIR)/isolated/rhodes \
13        $(BASEDIR)/isolated
14
15
16MONOSOURCE = \
17        $(BASEDIR)/monophonic/Mirex04/daisy \
18        $(BASEDIR)/monophonic/Mirex04/midi \
19        $(BASEDIR)/monophonic/Mirex04/jazz \
20        $(BASEDIR)/monophonic/Mirex04/pop \
21        $(BASEDIR)/monophonic/Mirex04/opera \
22        $(BASEDIR)/monophonic/Mirex04
23
24POLYSOURCE = \
25        $(BASEDIR)/polyphonic/Mirex04/daisy \
26        $(BASEDIR)/polyphonic/Mirex04/midi \
27        $(BASEDIR)/polyphonic/Mirex04/jazz \
28        $(BASEDIR)/polyphonic/Mirex04/pop \
29        $(BASEDIR)/polyphonic/Mirex04/opera \
30        $(BASEDIR)/polyphonic/Mirex04
31
32test-aubiopitch-isolated:    $(patsubst %, %.aubiopitch-isolated, $(SOURCE))
33test-aubiopitch-monophonic:  $(patsubst %, %.aubiopitch-monophonic, $(MONOSOURCE))
34test-aubiopitch-polyphonic:  $(patsubst %, %.aubiopitch-polyphonic, $(POLYSOURCE))
35
36plotpitch:
37        ../../../aubiopitch -m fcomb,mcomb,yinfft,yin,schmitt -i jazz2REF.wav -p -t 0.2 -l 100 -M 600 -O jazz2REF.ps
38        ../../../aubiopitch -m fcomb,mcomb,yinfft,yin,schmitt -p -t 0.2 -l 300 -M 900 -i opera_fem2REF.wav -O opera_fem2REF.ps
39
40timings:
41        ./bench-timings $(BASEDIR)/polyphonic/Mirex04/opera
42
43%.aubiopitch-isolated: %
44        $(CP) isolated/`basename $@` isolated/`basename $@`.old
45        ./bench-pitch-isolated $< | tee isolated/`basename $@`
46        -diff isolated/`basename $@`.old isolated/`basename $@`
47        -diff isolated/`basename $@`.ref isolated/`basename $@`
48
49%.aubiopitch-monophonic: %
50        $(CP) monophonic/`basename $@` monophonic/`basename $@`.old
51        ./bench-pitch-monophonic $< | tee monophonic/`basename $@`
52        -diff monophonic/`basename $@`.ref monophonic/`basename $@`
53        -diff monophonic/`basename $@`.old monophonic/`basename $@`
54
55%.aubiopitch-polyphonic: %
56        $(CP) polyphonic/`basename $@` polyphonic/`basename $@`.old
57        ./bench-pitch-polyphonic $< | tee polyphonic/`basename $@`
58        -diff polyphonic/`basename $@`.ref polyphonic/`basename $@`
59        -diff polyphonic/`basename $@`.old polyphonic/`basename $@`
Note: See TracBrowser for help on using the repository browser.