Pitchy example

This page is a simple example of how to use Pitchy for pitch detection. See the bottom of the page for the code powering the pitch and clarity displays below.

Pitch 0
Clarity 0

On some browsers (such as Chrome), audio contexts will not work until they are resumed following a user input or gesture on the page, to prevent annoyance. If the pitch and clarity above are not updating, try clicking this button to resume the audio context: