Improved Musical Instrument Classification Using Cepstral Coefficients and Neural Networks

  • Shruti Sarika ChakrabortyEmail author
  • Ranjan Parekh


This paper proposes a novel method for an automated classification of musical instruments based on the analysis of the audio signals generated by them. The paper studies the effectiveness and efficiency of a number of features like Mel frequency cepstral coefficients (MFCC), harmonic pitch class profile (HPCP), linear predictive coding (LPC) coefficients, spectral centroid and pitch salience peaks with cepstral coefficients (CC) with multiple machine learning algorithms like artificial neural network (ANN), K-nearest neighbors (K-NN), support vector machine (SVM), and random forest. The analysis finds that CC surpassed all other features to provide maximum accuracy and robustness along with neural networks. Multiple datasets have been used in the experimentations to remove the possibility of a bias. The overall accuracy obtained ranged between 90 and 93%.


Harmonic pitch class profile (HPCP) Linear predictive coding (LPC) Cepstral coefficients (CC) Mel frequency cepstral coefficients (MFCC) K-nearest neighbors (k-NN) Support vector machine (SVM) Artificial neural network (ANN) 


  1. 1.
    M.S. Nagawade, V.R. Ratnaparkhe, Musical instrument identification using MFCC, in 2017 2nd IEEE International Conference on Recent Trends in Electronics, Information & Communication Technology (RTEICT), Bangalore (2017), pp. 2198–2202Google Scholar
  2. 2.
    S. Essid, G. Richard, B. David, Instrument recognition in polyphonic music based on automatic taxonomies. IEEE Trans. Audio Speech Lang. Process. 14(1), 68–80 (2006)CrossRefGoogle Scholar
  3. 3.
    S.D. Patil, P.S. Sanjekar, Musical instrument identification using SVM, MLP & AdaBoost with formal concept analysis, in 2017 1st International Conference on Intelligent Systems and Information Management (ICISIM), Aurangabad (2017), pp. 105–109Google Scholar
  4. 4.
    P.S. Jadhav, Classification of musical instruments sounds by using MFCC and timbral audio descriptors. Int. J. Recent Innov. Trends Comput. Commun (IJRITCC) 3(7), 5001–5006 (2015)Google Scholar
  5. 5.
    M. Muller, D.P.W. Ellis, A. Klapuri, G. Richard, Signal processing for music analysis. IEEE J. Sel. Top. Signal Process. 5(6), 1088–1110 (2011)CrossRefGoogle Scholar
  6. 6.
    F.H. Foomany, K. Umapathy, Classification of music instruments using wavelet-based time-scale features, in 2013 IEEE International Conference on Multimedia and Expo Workshops (ICMEW), San Jose, CA (2013), pp. 1–4Google Scholar
  7. 7.
    M. Abulaish, Ontology Engineering for Imprecise Knowledge Management (Lambert Academic Publishing, Saarbrucken, Germany, 2009)Google Scholar
  8. 8.
    Y. Han, J. Kim, K. Lee, Deep convolutional neural networks for predominant instrument recognition in polyphonic music. IEEE/ACM Trans. Audio Speech Lang. Process. 25(1), 208–221 (2017)CrossRefGoogle Scholar
  9. 9.
    H. Mukherjee, S.M. Obaidullah, S. Phadikar, K. Roy, SMIL—a musical instrument identification system, in Computational Intelligence, Communications, and Business Analytics. CICBA 2017. Communications in Computer and Information Science, ed. by J. Mandal, P. Dutta, S. Mukhopadhyay, vol. 775 (Springer, Singapore, 2017)Google Scholar
  10. 10.
    P.J. Donnelly, J.W. Sheppard, Classification of musical timbre using Bayesian networks. Comput. Music J. 37(4), 70–86 (2013)CrossRefGoogle Scholar
  11. 11.
    S.K. Banchhor, A. Khan, Musical instrument recognition using zero crossing rate and short-time energy. Int. J. Appl. Inf. Syst. (IJAIS) 1(3), 16–19 (2012)CrossRefGoogle Scholar
  12. 12.
    J.L.C. Loong, K.S. Subari, M.K. Abdullah, N.N. Ahmad, R. Besar, Comparison of MFCC and cepstral coefficients as a feature set for PCG biometric systems. World Acad. Sci. Eng. Technol. Int. J. Biomed. Biol. Eng. 4(8) (2010)Google Scholar
  13. 13.
    Philharmonia Orchestra Sound Samples,
  14. 14.

Copyright information

© Springer Nature Singapore Pte Ltd. 2018

Authors and Affiliations

  1. 1.School of Education Technology, Jadavpur UniversityKolkataIndia

Personalised recommendations