Changeset 4994ebb for python/test


Ignore:
Timestamp:
Mar 21, 2006, 11:39:48 PM (19 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
650e39b
Parents:
9abd0f3
Message:

update pitch bench makefile
update pitch bench makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/test/bench/pitch/Makefile.am

    r9abd0f3 r4994ebb  
    1 export BASEDIR=../../../..
    2 export PYTHONPATH=$(BASEDIR)/python
    3 export LD_LIBRARY_PATH=$(BASEDIR)/src/.libs:$(BASEDIR)/ext/.libs
     1export AUBIODIR=../../../..
     2export PYTHONPATH=$(AUBIODIR)/python
     3export LD_LIBRARY_PATH=$(AUBIODIR)/src/.libs:$(AUBIODIR)/ext/.libs
     4
     5CP=cp -a
    46
    57SOURCE = \
    6         $(HOME)/archives/samples/pitch/isolated/piano/011pfnof \
    7         $(HOME)/archives/samples/pitch/isolated/rhodes/021epnof \
    8         $(HOME)/archives/samples/pitch/isolated/harpsichord/031hcsim \
    9         $(HOME)/archives/samples/pitch/isolated/vibraphone/041vihnf
     8        $(BASEDIR)/isolated/vibraphone \
     9        $(BASEDIR)/isolated/clavinet \
     10        $(BASEDIR)/isolated/elecguitar \
     11        $(BASEDIR)/isolated/piano \
     12        $(BASEDIR)/isolated/rhodes \
     13        $(BASEDIR)/isolated
    1014
    11 test-aubiopitch:         $(patsubst %, %.aubiopitch, $(SOURCE))
     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))
    1235
    1336plotpitch:
    14         ../../../aubiopitch -m mcomb,fcomb,yin,schmitt -i $(HOME)/archives/samples/pitch/isolated/piano/011pfnof/011pfnof.69.wav -O 011pfnof.69.ps
    15         ../../../aubiopitch -m mcomb,fcomb,yin,schmitt -i $(HOME)/archives/samples/pitch/isolated/rhodes/021epnof/021epnof.69.wav -O 021epnof.69.ps
    16         ../../../aubiopitch -m mcomb,fcomb,yin,schmitt -i $(HOME)/archives/samples/pitch/isolated/harpsichord/031hcsim/031hcsim.69.wav -O 031hcsim.69.ps
    17         ../../../aubiopitch -m mcomb,fcomb,yin,schmitt -i $(HOME)/archives/samples/pitch/isolated/vibraphone/041vihnf/041vihnf.69.wav -O 041vihnf.69.ps
     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
    1841
    19 %.aubiopitch: %
    20         rm -f `basename $@`
    21         ./bench-pitch $< #| tee `basename $@`
    22         -diff `basename $@` `basename $@`
     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 TracChangeset for help on using the changeset viewer.