Changeset 4dd235f for python/aubio


Ignore:
Timestamp:
Mar 16, 2006, 4:57:24 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:
e54a8ea
Parents:
4afa096d
Message:

aubioclass: yinthres support
aubioclass: yinthres support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/aubioclass.py

    r4afa096d r4dd235f  
    125125class pitchdetection:
    126126    def __init__(self,mode=aubio_pitch_mcomb,bufsize=2048,hopsize=1024,
    127         channels=1,samplerate=44100.,omode=aubio_pitchm_freq):
     127        channels=1,samplerate=44100.,omode=aubio_pitchm_freq,yinthresh=0.1):
    128128        self.pitchp = new_aubio_pitchdetection(bufsize,hopsize,channels,
    129129                samplerate,mode,omode)
     130        aubio_pitchdetection_set_yinthresh(self.pitchp,yinthresh)
    130131        #self.filt     = filter(srate,"adsgn")
    131132    def __del__(self):
Note: See TracChangeset for help on using the changeset viewer.