Skip to content

Real-time pitch detection using Web Audio API and autocorrelation algorithms. Built during Google Hackathon to enable in-browser musical note analysis without plugins. Features live frequency visualization and mobile support.

License

Notifications You must be signed in to change notification settings

ibrahim-sowunmi/PitchDetect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple pitch detection

I whipped this app up to start experimenting with pitch detection, and also to test live audio input. It used to perform a naive (zero-crossing based) pitch detection algorithm; now it uses a naively-implemented auto-correlation algorithm in realtime, so it should work well with most monophonic waveforms (although strong harmonics will throw it off a bit). It works well with whistling (which has a clear, simple waveform); it also works pretty well to tune my guitar.

Live instance hosted on https://webaudiodemos.appspot.com/pitchdetect/.

Check it out, feel free to fork, submit pull requests, etc. MIT-Licensed - party on.

-Chris

About

Real-time pitch detection using Web Audio API and autocorrelation algorithms. Built during Google Hackathon to enable in-browser musical note analysis without plugins. Features live frequency visualization and mobile support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.1%
  • HTML 15.9%