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_brass \ |
---|
9 | /var/tmp/Onset-Mirex2005/solo_drums \ |
---|
10 | /var/tmp/Onset-Mirex2005/solo_plucked_strings \ |
---|
11 | /var/tmp/Onset-Mirex2005/solo_singing_voice \ |
---|
12 | /var/tmp/Onset-Mirex2005/solo_sustained_strings \ |
---|
13 | /var/tmp/Onset-Mirex2005/solo_winds \ |
---|
14 | /var/tmp/Onset-Mirex2005/complex |
---|
15 | |
---|
16 | SOURCE = /var/tmp/Onset-Mirex2005 |
---|
17 | |
---|
18 | TESTSOURCE = \ |
---|
19 | /var/tmp/Onset-Mirex2005/solo_bars_and_bells \ |
---|
20 | /var/tmp/Onset-Mirex2005/solo_winds \ |
---|
21 | /archives/samples/DB/PercussivePhrases/CM18/Samba_Audio |
---|
22 | |
---|
23 | test-aubiocut: $(patsubst %, %.aubiocut, $(TESTSOURCE)) |
---|
24 | test-aubiodelay: $(patsubst %, %.aubiodelay, $(TESTSOURCE)) |
---|
25 | test-aubiowindow: $(patsubst %, %.aubiowindow, $(TESTSOURCE)) |
---|
26 | |
---|
27 | final-aubiocut: $(patsubst %, %.aubiocut, $(DETAILSOURCE) $(SOURCE)) |
---|
28 | final-aubiodelay: $(patsubst %, %.aubiodelay, $(SOURCE)) |
---|
29 | final-aubiowindow: $(patsubst %, %.aubiowindow, $(SOURCE)) |
---|
30 | |
---|
31 | %.aubiocut: % |
---|
32 | rm -f `basename $@` |
---|
33 | ./bench-onset $< | tee `basename $@` |
---|
34 | -diff `basename $@`.ref `basename $@` |
---|
35 | |
---|
36 | %.aubiodelay: % |
---|
37 | rm -f `basename $@` |
---|
38 | ./bench-delay $< | tee `basename $@` |
---|
39 | -diff `basename $@`.ref `basename $@` |
---|
40 | |
---|
41 | %.aubiowindow: % |
---|
42 | rm -f `basename $@` |
---|
43 | ./bench-window $< | tee `basename $@` |
---|
44 | -diff `basename $@`.ref `basename $@` |
---|