Reference   Language | Libraries | Comparison | Changes

AudioFrequencyMeter

getFrequency()

Description

Returns the value of the detected frequency if it is above the threshold defined by setAmplitudeThreshold else -1

Syntax

AudioFrequencyMeter.getFrequency()

Return

The value of the detected frequency in Hz

See also

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.