Changeset 4dd235f for python/aubio/aubioclass.py
- Timestamp:
- Mar 16, 2006, 4:57:24 PM (19 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/aubioclass.py
r4afa096d r4dd235f 125 125 class pitchdetection: 126 126 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): 128 128 self.pitchp = new_aubio_pitchdetection(bufsize,hopsize,channels, 129 129 samplerate,mode,omode) 130 aubio_pitchdetection_set_yinthresh(self.pitchp,yinthresh) 130 131 #self.filt = filter(srate,"adsgn") 131 132 def __del__(self):
Note: See TracChangeset
for help on using the changeset viewer.