History

aubioclass: yinthres support aubioclass: yinthres support

Paul Brossier committed 20 years ago

Commit 4dd235f1 parent 4afa0961 file · +2 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/aubio/aubioclass.py+2−1
@@ -124,9 +124,10 @@ class onsetpick: · 123 unmodified lines
124124
125125 class 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):
132133 del_aubio_pitchdetection(self.pitchp)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t