Changeset cafb00a


Ignore:
Timestamp:
Mar 3, 2006, 6:39:21 AM (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:
ec10780
Parents:
3043081
Message:

update to last bench-onset, bench-pitch
update to last bench-onset, bench-pitch

Location:
python/test/bench
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • python/test/bench/onset/bench-onset

    r3043081 rcafb00a  
    1616                        self.params.onsetmode = mode
    1717                        #self.params.localmin = True
    18                         self.params.delay = 2.
    19                         self.params.bufsize = 1024
    20                         self.params.hopsize = 256
    21                         self.params.step = float(self.params.hopsize)/float(self.params.samplerate)
    22                         #self.params.mintol = 8.
    2318
    2419                        for threshold in self.thresholds:
     
    5752        benchonset = mybenchonset(datapath,respath,checkres=True,checkanno=True)
    5853        benchonset.params = taskparams()
     54        benchonset.params.dcthreshold = -1.
     55        benchonset.params.silence = -100.
     56        benchonset.params.delay = 3.
     57        benchonset.params.bufsize = 1024
     58        benchonset.params.hopsize = 256
     59        benchonset.params.step = float(benchonset.params.hopsize)/float(benchonset.params.samplerate)
     60        benchonset.params.mintol = 4.1
    5961        benchonset.task = taskonset
    6062        benchonset.valuesdict = {}
  • python/test/bench/pitch/Makefile.am

    r3043081 rcafb00a  
    44
    55SOURCE = \
    6         /var/tmp/pitch \
    7         $(HOME)/archives/samples/pitch/isolated
     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
    810
    911test-aubiopitch:         $(patsubst %, %.aubiopitch, $(SOURCE))
     12
     13plotpitch:
     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
    1018
    1119%.aubiopitch: %
  • python/test/bench/pitch/bench-pitch

    r3043081 rcafb00a  
    8080                g.xlabel('original pitch (Hz)')
    8181                g.ylabel('detected pitch (Hz)')
     82                g('set key left top')
    8283                g('set log xy')
     84                g('set xrange [50:2000]')
     85                g('set yrange [50:2000]')
    8386                g.plot(*d)
    8487
     
    9497
    9598        params = taskparams()
    96         params.bufsize = 2048
    97         params.hopsize = params.bufsize/2
     99        params.bufsize = 4096
     100        params.hopsize = params.bufsize/4
     101        params.silence = -1000.
     102        params.pitchsmooth = 50
    98103        benchpitch = benchpitch(datapath,params=params)
    99104        benchpitch.task = taskpitch
Note: See TracChangeset for help on using the changeset viewer.