source: python/aubio/task/params.py @ 8595fe3

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 8595fe3 was 13c3fba, checked in by Paul Brossier <piem@altern.org>, 19 years ago

splitting up tasks in many files
splitting up tasks in many files

  • Property mode set to 100644
File size: 662 bytes
Line 
1from aubio.aubioclass import aubio_pitchm_freq
2
3class 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.samplerate = 44100
14                self.tol = 0.05
15                self.mintol = 0.0
16                self.step = float(self.hopsize)/float(self.samplerate)
17                self.threshold = 0.1
18                self.onsetmode = 'dual'
19                self.pitchmode = 'yin'
20                self.pitchsmooth = 7
21                self.pitchmin=100.
22                self.pitchmax=1000.
23                self.dcthreshold = -1.
24                self.omode = aubio_pitchm_freq
25                self.verbose   = False
26
Note: See TracBrowser for help on using the repository browser.