source: python/test/bench/pitch/Makefile.am @ 9bec8fe

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 9bec8fe was 4994ebb, checked in by Paul Brossier <piem@altern.org>, 19 years ago

update pitch bench makefile
update pitch bench makefile

  • Property mode set to 100644
File size: 2.3 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 mcomb,fcomb,yin,schmitt -i $(BASEDIR)/isolated/piano/011pfnof/011pfnof.69.wav -O 011pfnof.69.ps
38        ../../../aubiopitch -m mcomb,fcomb,yin,schmitt -i $(BASEDIR)/isolated/rhodes/021epnof/021epnof.69.wav -O 021epnof.69.ps
39        ../../../aubiopitch -m mcomb,fcomb,yin,schmitt -i $(BASEDIR)/isolated/harpsichord/031hcsim/031hcsim.69.wav -O 031hcsim.69.ps
40        ../../../aubiopitch -m mcomb,fcomb,yin,schmitt -i $(BASEDIR)/isolated/vibraphone/041vihnf/041vihnf.69.wav -O 041vihnf.69.ps
41
42timings:
43        ./bench-timings $(BASEDIR)/polyphonic/Mirex04/opera
44
45%.aubiopitch-isolated: %
46        rm -f isolated/`basename $@`
47        ./bench-pitch $< | tee isolated/`basename $@`
48        -diff isolated/`basename $@`.ref isolated/`basename $@`
49
50%.aubiopitch-monophonic: %
51        $(CP) monophonic/`basename $@` monophonic/`basename $@`.old
52        ./bench-pitch-monophonic $< | tee monophonic/`basename $@`
53        -diff monophonic/`basename $@`.ref monophonic/`basename $@`
54        -diff monophonic/`basename $@`.old monophonic/`basename $@`
55
56%.aubiopitch-polyphonic: %
57        $(CP) polyphonic/`basename $@` polyphonic/`basename $@`.old
58        ./bench-pitch-polyphonic $< | tee polyphonic/`basename $@`
59        -diff polyphonic/`basename $@`.ref polyphonic/`basename $@`
60        -diff polyphonic/`basename $@`.old polyphonic/`basename $@`
Note: See TracBrowser for help on using the repository browser.