This was part of an undergraduate dissertation on guitar tuners, specifically handling pitch detection and note recognition.
ZRTuner or "Završni Rad Tuner" (Undergraduate dissertation tuner) is an application for detecting played notes. It is able to correctly display the played note and its relative pitch distance from the closest pitch on the chromatic scale. This allows the user to figure out if the pitch is too low or too high, and by how far off, thus giving him directions to correctly tune the guitar.
The application relies on the use of the YIN algorithm, achieved through help from the TarsosDSP library. This helped avoid complications and errors in implementing complex sound processing algorithms, but also proved to be useful in demonstrating how the app works through readable source code. Developed in Java in Android Studio.
- Open ZRTuner app.
- Recording will immediately start.
- Select the note scale you wish to tune the instrument to by opening the drop down menu on top of the screen.
- Play notes on guitar (similar instruments will work as well).
- Pay attention to the pitch indicator and tune it towards the value of zero.
TarsosDSP is a Java library for audio processing which features a number of pitch detection algorithms, filters, and other. https://github.com/JorenSix/TarsosDSP