YIN Tuner
This is a pitch detector that can be used to tune any instrument in equal temperament. It receives any sound from the mic input, detects its pitch, and displays its distance from the nearest note.
For pitch detection it implements the YIN algorithm, considered the best publicly available method. YIN cannot run entirely on matlab code, demanding routines are implemented in C.
Use microphone or plug your instrument directly into mic-in for better capture.
Mic sensitivity can be adjusted from your system's recording controls (not play controls).
Choose a compiler that works:
>> mex -setup
Compile the MEX file:
>> mex dfopt.c
Run it:
>> tuner
Work with cents instead of hertz:
set accuracy=0 in yint.m
The application is kept as simple as possible. There may follow a version with more UI options.
I am currently working on the web version built entirely on open web technology (html/css and js).
Leave feedback!!! or comment. Thanks.
This is part of my thesis "Fundamental frequency estimation for music signals" (Greek)
Citar como
Neuron (2024). YIN Tuner (https://www.mathworks.com/matlabcentral/fileexchange/54663-yin-tuner), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Agradecimientos
Inspirado por: Guitar Tuner
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 | just tweaked the defaults a bit
-
|