AudioKit icon indicating copy to clipboard operation
AudioKit copied to clipboard

How Often does AKFrequencytracker update?

Open saxjax opened this issue 9 years ago • 3 comments

I am a newbee, so please forgive me if my question is dumb. I'm creating a tuner, Id like to call a function on didset, everytime frequencytracker.frequency changes, is that possible? and How Often does AKFrequencytracker measure? 100/sec, 1000/sec

saxjax avatar Mar 15 '17 09:03 saxjax

If you set a breakpoint on sp_ptrack_compute(), you'll see that it gets called on every buffer received from the microphone, so the frequency will depend on the input buffer size and sampling rate.

pcbeard avatar Mar 15 '17 16:03 pcbeard

Good answer @pcbeard Saxjax, Github issues are meant for bugs or problems we can address. This kind of question belongs in our forum: https://groups.google.com/forum/#!forum/audiokit

aure avatar Mar 15 '17 18:03 aure

Thanks A lot

saxjax avatar Mar 23 '17 13:03 saxjax