Changeset 9abd0f3 for python/aubio


Ignore:
Timestamp:
Mar 21, 2006, 11:37:18 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:
4994ebb
Parents:
807f029
Message:

update default parameters
update default parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/task/params.py

    r807f029 r9abd0f3  
    44        """ default parameters for task classes """
    55        def __init__(self,input=None,output=None):
    6                 self.silence = -70
     6                self.silence = -90
    77                self.derivate = False
    88                self.localmin = False
     
    2020                self.onsetmode = 'dual'
    2121                self.pitchmode = 'yin'
    22                 self.yinthresh = 0.2
     22                # best threshold for yin monophonic Mirex04 (depth of f0)
     23                self.yinthresh = 0.15
     24                # best thresh for yinfft monophonic Mirex04 (tradeoff sil/gd)
     25                # also best param for yinfft polyphonic Mirex04
     26                self.yinfftthresh = 0.85
    2327                self.pitchsmooth = 0
    24                 self.pitchmin=100.
    25                 self.pitchmax=1000.
     28                self.pitchmin=10.
     29                self.pitchmax=20000.
    2630                self.dcthreshold = -1.
    2731                self.omode = aubio_pitchm_freq
Note: See TracChangeset for help on using the changeset viewer.