1 | export AUBIODIR=../../../.. |
---|
2 | export PYTHONPATH=$(AUBIODIR)/python |
---|
3 | export LD_LIBRARY_PATH=$(AUBIODIR)/src/.libs:$(AUBIODIR)/ext/.libs |
---|
4 | |
---|
5 | CP=cp -a |
---|
6 | |
---|
7 | SOURCE = \ |
---|
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 | |
---|
16 | MONOSOURCE = \ |
---|
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 | |
---|
24 | POLYSOURCE = \ |
---|
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 | |
---|
32 | test-aubiopitch-isolated: $(patsubst %, %.aubiopitch-isolated, $(SOURCE)) |
---|
33 | test-aubiopitch-monophonic: $(patsubst %, %.aubiopitch-monophonic, $(MONOSOURCE)) |
---|
34 | test-aubiopitch-polyphonic: $(patsubst %, %.aubiopitch-polyphonic, $(POLYSOURCE)) |
---|
35 | |
---|
36 | plotpitch: |
---|
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 | |
---|
42 | timings: |
---|
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 $@` |
---|