This page is optimized for mobile devices, if you would prefer the desktop version just
click here
This module contains the complete code that implements the Piano Note Detection algorithm described on the preceding pages.
These are the files that contain the code that we used for this project. To run the entire program on a song, place all the files in the Matlab's current directory, and run convertsong(filename), where filename is the name of the wav file containing the song recording. The filename should be inside quotation marks "".
The main program
Note onset detection code
Frequency detection code
Frequency to note conversion code
Note length and tempo detection code
Read also:
OpenStax, Elec 301 projects fall 2006. OpenStax CNX. Sep 27, 2007 Download for free at http://cnx.org/content/col10462/1.2
Google Play and the Google Play logo are trademarks of Google Inc.