1 | export BASEDIR=../../../.. |
---|
2 | export PYTHONPATH=$(BASEDIR)/python |
---|
3 | export LD_LIBRARY_PATH=$(BASEDIR)/src/.libs:$(BASEDIR)/ext/.libs |
---|
4 | |
---|
5 | DETAILSOURCE = \ |
---|
6 | /var/tmp/Onset-Mirex2005/poly_pitched \ |
---|
7 | /var/tmp/Onset-Mirex2005/solo_bars_and_bells \ |
---|
8 | /var/tmp/Onset-Mirex2005/solo_drums \ |
---|
9 | /var/tmp/Onset-Mirex2005/solo_plucked_strings \ |
---|
10 | /var/tmp/Onset-Mirex2005/solo_singing_voice \ |
---|
11 | /var/tmp/Onset-Mirex2005/solo_sustained_strings \ |
---|
12 | /var/tmp/Onset-Mirex2005/solo_winds \ |
---|
13 | /var/tmp/Onset-Mirex2005/complex |
---|
14 | |
---|
15 | SOURCE = /var/tmp/Onset-Mirex2005 |
---|
16 | |
---|
17 | TESTSOURCE = \ |
---|
18 | /var/tmp/Onset-Mirex2005/solo_bars_and_bells \ |
---|
19 | /var/tmp/Onset-Mirex2005/solo_winds \ |
---|
20 | /archives/samples/DB/PercussivePhrases/CM18/Samba_Audio |
---|
21 | |
---|
22 | test-aubiocut: $(patsubst %, %.aubiocut, $(TESTSOURCE)) |
---|
23 | test-aubiodelay: $(patsubst %, %.aubiodelay, $(TESTSOURCE)) |
---|
24 | test-aubiowindow: $(patsubst %, %.aubiowindow, $(TESTSOURCE)) |
---|
25 | |
---|
26 | final-aubiocut: $(patsubst %, %.aubiocut, $(DETAILSOURCE) $(SOURCE)) |
---|
27 | final-aubiodelay: $(patsubst %, %.aubiodelay, $(SOURCE)) |
---|
28 | final-aubiowindow: $(patsubst %, %.aubiowindow, $(SOURCE)) |
---|
29 | |
---|
30 | %.aubiocut: % |
---|
31 | rm -f `basename $@` |
---|
32 | ./bench-onset $< | tee `basename $@` |
---|
33 | -diff `basename $@`.ref `basename $@` |
---|
34 | |
---|
35 | %.aubiodelay: % |
---|
36 | rm -f `basename $@` |
---|
37 | ./bench-delay $< | tee `basename $@` |
---|
38 | -diff `basename $@`.ref `basename $@` |
---|
39 | |
---|
40 | %.aubiowindow: % |
---|
41 | rm -f `basename $@` |
---|
42 | ./bench-window $< | tee `basename $@` |
---|
43 | -diff `basename $@`.ref `basename $@` |
---|