PianoTuner

Graphical aid for tuning the middle octave of a piano
1.4K Downloads
Updated 25 Nov 2010

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Based on Ryan Kinnett's GuitarTuner, this program automatically detects which note is being played into the computer microphone. When the sound is tuned to within 0.05 tones of the nearest note, the display indicates a match. The keyboard display provides a graphical indicator of which note was being matched. The program purposefully shows the middle octave only, since it's better to tune the other octaves by ear anyway.

The display refresh rate can be set using a slider bar. Faster refresh rates require a faster CPU, but provide quicker feedback while tuning. Slower refresh rates provide more spectral detail, and can help indicate when unison strings are mistuned (e.g., multiple peaks in the sound spectrum).

Cite As

John Bender (2024). PianoTuner (https://www.mathworks.com/matlabcentral/fileexchange/29538-pianotuner), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Guitar Tuner

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

PianoTuner/

Version Published Release Notes
1.0.0.0