Reference+
Class Name
PitchDetector
Description
Detects the pitch (also known as the 'fundamental frequency') of a sound signal. For complex signals this is not a trivial task, so the analyzer only returns a frequency measurement (measured in Hertz) when its measurement exceeds a 'confidence level' that can be specified by the user.
Constructors
PitchDetector(parent, minimumConfidence)
PitchDetector(parent)
Parameters
parent
(PApplet)
typically "this"minimumConfidence
(float)
the minimum confidence level required for frequency measurements, between 0 (accept all measurements, no matter how unreliable) to 1 (only accept perfect measurements). Defaults to 0.8.
Methods

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.