The code is based on the [https://github.com/cwilso/pitchdetect](excellent example) by Chris Wilson.
Look into the file demo.js for an simple example, test the code by opening index.html in a browser, feel free to fork or send pull requests.
An API to detect which tone is beeing played directly in the browser
Homepage Repository JavaScript
bower install pitchdetector
The code is based on the [https://github.com/cwilso/pitchdetect](excellent example) by Chris Wilson.
Look into the file demo.js for an simple example, test the code by opening index.html in a browser, feel free to fork or send pull requests.