feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 807f029 was
e2b1bda,
checked in by Paul Brossier <piem@altern.org>, 19 years ago
|
add pitch buf, hop and yinthresh, no smoothing
add pitch buf, hop and yinthresh, no smoothing
|
-
Property mode set to
100644
|
File size:
731 bytes
|
Line | |
---|
1 | from aubio.aubioclass import aubio_pitchm_freq |
---|
2 | |
---|
3 | class taskparams(object): |
---|
4 | """ default parameters for task classes """ |
---|
5 | def __init__(self,input=None,output=None): |
---|
6 | self.silence = -70 |
---|
7 | self.derivate = False |
---|
8 | self.localmin = False |
---|
9 | self.delay = 4. |
---|
10 | self.storefunc = False |
---|
11 | self.bufsize = 512 |
---|
12 | self.hopsize = 256 |
---|
13 | self.pbufsize = 2048 |
---|
14 | self.phopsize = 512 |
---|
15 | self.samplerate = 44100 |
---|
16 | self.tol = 0.05 |
---|
17 | self.mintol = 0.0 |
---|
18 | self.step = float(self.hopsize)/float(self.samplerate) |
---|
19 | self.threshold = 0.1 |
---|
20 | self.onsetmode = 'dual' |
---|
21 | self.pitchmode = 'yin' |
---|
22 | self.yinthresh = 0.2 |
---|
23 | self.pitchsmooth = 0 |
---|
24 | self.pitchmin=100. |
---|
25 | self.pitchmax=1000. |
---|
26 | self.dcthreshold = -1. |
---|
27 | self.omode = aubio_pitchm_freq |
---|
28 | self.verbose = False |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.