Development of an acoustic guitar tuner and graphical user interface (GUI) using MATLAB


  • Mohammad Mainul Hasan Department of Mechatronics Engineering, International Islamic University Malaysia, Malaysia
  • Saiful Islam Department of Systems Engineering, Kochi University of Technology, Kami, Japan



Acoustic Signal, Butterworth Filter, Fast Fourier Transform, MATLAB GUI, Tuning


Beautiful music requires precisely tuned instruments. Tuning a guitar is necessary for any guitarist on their first day. This work demonstrates an understanding of the critical characteristics that must be considered while developing an acoustic guitar tuner and the logical process of designing such a tuner. The study aimed to create an algorithm using the Butterworth Filter and Fast Fourier Transform (FFT) capable of adequately analysing the frequency spectrum of a plucked guitar string to determine its fundamental frequency. The developed system compared the detected frequency and the standard frequency of the picked guitar string, which then requested the user on the tuning state of that corresponding string. The error in frequency detection was found to be in the order of 0.02%. The MATLAB App Designer tool created a Graphical User Interface (GUI) that users could use to easily tune guitars using the generated application. The implemented tuner overcame the steep learning curve and high sensitivity of traditional ones.


Download data is not yet available.


J.S. Salcedo, I.M. Gila, I.R. Ruano, A.S. Garcia, E.E. Esteves, J.G. Ortega, and J.G. Garcia, "Design and development of a low cost automatic stringed instrument tuner", Jornadas de Automática, pp. 604–610, 2019.

P. Šarga, and D. Demecko, "Design and realisation of the guitar tuner using MyRIO", Journal of Automation and Control, Vol. 5, No. 2, pp. 41–45, 2017.

R. Melo, R. de Paulo Monteiro, J.P.G. de Oliviera, B. Jeronimo, C.J. Bastos-Filho, A.P. de Albuquerque, and J. Kelner, "Guitar tuner and song performance evaluation using a NAO robot", 2020 Latin American Robotics Symposium (LARS), 2020 Brazilian Symposium on Robotics (SBR) and 2020 Workshop on Robotics in Education (WRE), pp. 1-6, IEEE, 2020.

A. Kumar, S. Srivastava, M. Chandra, and Sahoo G, "Guitar tuner using cepstral analysis and fuzzy controller on Arduino board", Microsystem Technologies, 2018.

T. Busch and T. Busch Consulting, "Practical applications of digital signal processing theory practical applications of digital signal processing theory", Proceedings of 26th International Congress on Acoustics and Vibration, 2019.

T. Har?arik, J. Bocko, and K. Masláková, "Frequency analysis of acoustic signal using the fast Fourier transformation in MATLAB", Procedia Engineering, Vol. 48, pp. 199–204. 2012.

M. Lourde, and A. K. Saji, "A digital guitar tuner," 2009, arXiv preprint arXiv:0912.0745.

A. Patra?co, "Itune guitar tuner application for android driven mobile devices", Technical-scientific Conference of Collaborators, PhD Students and Students, Technical University of Moldova, Nov. 2014, pp. 134–135. Accessed: May 08, 2022.

B. Deo Kumar, A. Kushwaha, A. Kumar, and A. Agarwal, "Design and implementation of digital guitar tuner using MATLAB", The International Conference on Advance Computing and Innovative Technologies in Engineering, ICACITE 2021, pp. 547–549. 2021.

K. Rahnamai, B. Cox, and K. Gorman, "Fuzzy automatic guitar tuner", Annual Conference of the North American Fuzzy Information Processing Society - NAFIPS, pp. 195–199, 2007.

M.S. Stanojevi?, and M.R. Bjeli?, “Digitalni štimer za gitaru”, Proceedings of Papers, 2011, pp. 1574–1577,

S. Sourav, S. Balamurugan, R. Marimuthu, R. Sudha, and A. Bagubali, "Acoustic guitar tuner and identification of chords using LabVIEW", Global Journal of Pure and Applied Mathematics, Vol. 11, No. 3, pp. 1171–1178, 2015.

U. Kulkarni, S. Kaushik, L. Lobo, and R. Sonkusare, "Comparative study of digital signal processing techniques for tuning an acoustic guitar", The 7th International Conference on Smart Structures and Systems (ICSSS 2020), pp. 1-6, 2020.

N. Tirasuntarakul, and A. Dheeravongkit, "An automatic multi-string musical instrument tuner using one-to-many micro actuating mechanism", Proceedings of the International Conference on machine learning and Machine Intelligence, pp. 64–67. 2018.

Z. Fraser, "Laser tuner: a novel approach to pitch detection on a drumhead", The Canadian Science Fair Journal, Vol. 2, No. 5, 2019.

Z.J. Wang, and C.Ortega-Sanchez, "Electronic assisting violin tuner", TENCON 2012 IEEE Region 10 Conference, 2012.

M. Shouran, and E. Elgamli, "Design and implementation of Butterworth filter", International Journal of Innovative Research in Science, Engineering and Technology, vol. 9, no. 9, 2020, Accessed: May 09, 2022.

D. Ramsay, T. Burke, D. Barry, and E. Coyle, "A novel Fourier approach to guitar string separation", IET Irish Signals and Systems Conference, June 2011.

M. Frigo and S.G. Johnson, "FFTW: An adaptive software architecture for the FFT", International Conference on Acoustics, Speech and Signal Processing - Proceedings, vol. 3, pp. 1381–1384, 1998,

B. Alfredo, "Automatic acoustic guitar tuner", Thesis, Department Massachusetts Institute of Technology. Department of Mechanical Engineering, 2005.




How to Cite

Hasan, M. M., & Islam, S. (2022). Development of an acoustic guitar tuner and graphical user interface (GUI) using MATLAB. Applied Research and Smart Technology (ARSTech), 3(2), 49–55.