feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since c1f0c1d was
b554e41,
checked in by Paul Brossier <piem@piem.org>, 12 years ago
|
moved out old python interface
|
-
Property mode set to
100644
|
File size:
903 bytes
|
Line | |
---|
1 | |
---|
2 | class taskparams(object): |
---|
3 | """ default parameters for task classes """ |
---|
4 | def __init__(self,input=None,output=None): |
---|
5 | self.silence = -90 |
---|
6 | self.derivate = False |
---|
7 | self.localmin = False |
---|
8 | self.delay = 4. |
---|
9 | self.storefunc = False |
---|
10 | self.bufsize = 512 |
---|
11 | self.hopsize = 256 |
---|
12 | self.pbufsize = 2048 |
---|
13 | self.phopsize = 512 |
---|
14 | self.samplerate = 44100 |
---|
15 | self.tol = 0.05 |
---|
16 | self.mintol = 0.0 |
---|
17 | self.step = float(self.hopsize)/float(self.samplerate) |
---|
18 | self.threshold = 0.1 |
---|
19 | self.onsetmode = 'dual' |
---|
20 | self.pitchmode = 'yin' |
---|
21 | # best threshold for yin monophonic Mirex04 (depth of f0) |
---|
22 | self.yinthresh = 0.15 |
---|
23 | # best thresh for yinfft monophonic Mirex04 (tradeoff sil/gd) |
---|
24 | # also best param for yinfft polyphonic Mirex04 |
---|
25 | self.yinfftthresh = 0.85 |
---|
26 | self.pitchsmooth = 0 |
---|
27 | self.pitchmin=20. |
---|
28 | self.pitchmax=20000. |
---|
29 | self.pitchdelay = -0.5 |
---|
30 | self.dcthreshold = -1. |
---|
31 | self.omode = "freq" |
---|
32 | self.verbose = False |
---|
33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.