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

Authors

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

DOI:

https://doi.org/10.23917/arstech.v3i2.1185

Keywords:

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

Abstract

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.

Downloads

Download data is not yet available.

References

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. https://doi.org/10.17979/spudc.9788497497169.604

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. https://doi.org/10.12691/automation-5-2-2

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. https://doi.org/10.1109/LARS/SBR/WRE51543.2020.9307156

A. Kumar, S. Srivastava, M. Chandra, and Sahoo G, "Guitar tuner using cepstral analysis and fuzzy controller on Arduino board", Microsystem Technologies, 2018. https://doi.org/0.1007/S00542-017-3623-2

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. https://doi.org/10.1007/s00542-017-3623-2

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. https://doi.org/10.1016/j.proeng.2012.09.505.

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. https://doi.org/10.1109/ICACITE51222.2021.9404728

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. https://doi.org/10.1109/NAFIPS.2007.383836

M.S. Stanojevi?, and M.R. Bjeli?, “Digitalni štimer za gitaru”, Proceedings of Papers, 2011, pp. 1574–1577, https://doi.org/10.1109/TELFOR.2011.6143860

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. https://doi.org/10.1109/ICSSS49621.2020.9202368

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. https://doi.org/10.1145/3278312.3278323

Z. Fraser, "Laser tuner: a novel approach to pitch detection on a drumhead", The Canadian Science Fair Journal, Vol. 2, No. 5, 2019. https://doi.org/10.18192/csfj.v2i32020120122

Z.J. Wang, and C.Ortega-Sanchez, "Electronic assisting violin tuner", TENCON 2012 IEEE Region 10 Conference, 2012. https://doi.org/10.1109/TENCON.2012.6412214

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, https://doi.org/10.1109/ICASSP.1998.681704

B. Alfredo, "Automatic acoustic guitar tuner", Thesis, Department Massachusetts Institute of Technology. Department of Mechanical Engineering, 2005. http://hdl.handle.net/1721.1/32878

Downloads

Published

2022-12-27

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. https://doi.org/10.23917/arstech.v3i2.1185