File Exchange Pick of the Week

Our best user submissions

PianoTuner

Will's pick this week is Piano Tuner by John Bender.

If you want the distinguished honor of a Will Pick of the Week, here are some easy guidelines to follow:

  1. Choose an interesting or fun topic.
  2. Package the submission so that it's easy to figure out how to use.
  3. Ensure that it actually works for standard user inputs.
John's PianoTuner contribution meets all three criteria. It provides a simple, intuitive user interface that displays how well-tuned your piano is. I downloaded the file, launched it in MATLAB, walked my laptop downstairs, and had meaningful data on my piano's performance in seconds.

C note F#


I'll probably want to get a second opinion, but PianoTuner tells me that my keys are all falling flat. As to how it figures this out, the algorithm is about 80 lines of code embedded into the UI callback functions. It looks like there's a fast Fourier transform and a polynomial curve fit in there.

Incidentally, you can run the tool against non-piano instruments as well. I played a random song on my computer speakers and found that musicians with professional instruments do much better.

A well-tuned D


Comments
Let us know what you think here or leave a comment for John.
|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.