Research Article

Deep Chnet — 1-D CNN using raw audio waveform for recognizing traditional Chinese musical instrument

Bote Wang*
Indiana University Bloomington, 107 S Indiana Ave, Bloomington, IN 47405, United States

* Corresponding author: [email protected]

Abstract

The classification of music information using various deep learning models is increasingly popular in the field of Music Information Retrieval research. However, as most proposed works focus on western music and musical instruments, little attention is given to traditional Chinese music. This paper proposes a 1-D Convolutional Neural Network (1-D CNN) using only raw audio waveform as input, to undertake the task of traditional Chinese musical instruments classification. This paper starts with a review of the current state of research on the related field, then discuss the proposed model and its data in detail, followed by its performance metrics and then a conclusion on the experiment. The result shows that 1-D CNN provides competitive and even superior results when compared to its 2-D versions as well as when compared to traditional models.

Keywords: Convolutional Neural Networks; Deep Learning; Instrument Classification; Raw Waveforms; Chinese Traditional Music.
Published: June 14, 2023
DOI: 10.54254/2755-2721/6/20220802
Volume: ACE Vol.6
pp. 238-245
Download PDF

References

  1. X. Gong et al. “ChMusic: A Traditional Chinese Music Dataset for Evaluation of Instrument Recognition”. In: (Aug. 2021). http://arxiv.org/abs/2108.08470.
  2. N. Kumari. “Music Genre Classification for Indian Music Genres”. In: International Journal for Research in Applied Science and Engineering Technology 9.8 (Aug. 2021), pp. 1756–1762. issn: 23219653. doi: 10.22214/ijraset.2021.37669. https://www.ijraset.com/fileserve.php?FID=37669.
  3. M. Sudarma and I. G. Harsemadi. “Design and Analysis System of KNN and ID3 Algorithm for Music Classification based on Mood Feature Extraction”. In: International Journal of Electrical and Computer Engineering (IJECE) 7.1 (Feb. 2017), p. 486. issn: 2088-8708. doi: 10.11591/ijece.v7i1.pp486- 495. http://ijece.iaescore.com/index.php/IJECE/ article/view/6302.
  4. U. Shukla et al. “Instrument Classification using image based Transfer Learning”. In: 2020 5th International Conference on Computing, Communication and Security (ICCCS). IEEE, Oct. 2020, pp. 1–5. isbn: 978-1-7281-9180-5. doi: 10.1109/ICCCS49678.2020.9277366. https://ieeexplore.ieee.org/document/9277366/.
  5. D. Kostrzewa, R. Brzeski, and M. Kubanski. “The Classification of Music by the Genre Using the KNN Classifier”. In: Communications in Computer and Information Science. Vol. 928. 2018, pp. 233–242. doi: 10.1007/9783319999876{\_}18.
  6. Dr. S. Ponlatha et al. “Music Genre Classification Using Deep Learning with KNN”. In: International Journal of Advanced Research in Science, Communication and Technology (Dec. 2021), pp. 224–230. issn: 2581-9429. doi: 10.48175/IJARSCT- 2333.
  7. M. I. Mandel and D. P.W. Ellis. “Song-level features and support vector machines for music classification”. In: ISMIR 6th International Conference on Music Information Retrieval. 2005.
  8. F. Rong. “Audio Classification Method Based on Machine Learning”. In: 2016 International Conference on Intelligent Transportation, Big Data & Smart City (ICITBS). IEEE, Dec. 2016, pp. 81–84. isbn: 978-1-5090-6061-0. doi: 10.1109/ICITBS.2016.98.
  9. B. R. Ismanto, T. M. Kusuma, and D. Anggraini. “Indonesian Music Classification on Folk and Dangdut Genre Based on Rolloff Spectral Feature Using Support Vector Machine (SVM) Algorithm”. In: IJCCS (Indonesian Journal of Computing and Cybernetics Systems) 15.1 (2021). issn: 1978-1520. doi: 10.22146/ijccs.54646.
  10. Y. H. Yi et al. “Music Genre Classification with LSTM based on Time and Frequency Domain Features”. In: 2021 IEEE 6th International Conference on Computer and Communication Systems, ICCCS 2021. 2021. doi: 10.1109/ICCCS52626.2021.9449177.
  11. S. I. Kang and S. M. Lee. “Improvement of speech/music classification for 3GPP EVS based on LSTM”. In: Symmetry 10.11 (2018). issn: 20738994. doi: 10.3390/sym10110605.
  12. K. H. Wong et al. “Music genre classification using a hierarchical long short term memory (LSTM) model”. In: Third International Workshop on Pattern Recognition. Ed. by Xudong Jiang, Guojian Chen, and Zhenxiang Chen. SPIE, July 2018, p.7. doi: 10.1117/12.2501763.
  13. S. Deepak and B. G. Prasad. “Music Classification based on Genre using LSTM”. In: 2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA). IEEE, July 2020, pp. 985–991. isbn: 978-1-7281-5374-2. doi: 10.1109/ICIRCA48905.2020.9182850. url:https://ieeexplore.ieee.org/document/9182850/.
  14. G. Gessle and S. Akesson. “A comparative analysis of CNN and LSTM for music genre classification”. In: Degree Project in Technology (2019).
  15. S. Hizlisoy, S. Yildirim, and Z. Tufekci. “Music emotion recognition using convolutional long short term memory deep neural networks”. In: Engineering Science and Technology, an International Journal 24.3 (June 2021), pp. 760–767. issn: 22150986. doi: 10.1016/j.jestch.2020.10.009. https://linkinghub.elsevier.com/retrieve/pii/ S2215098620342385.
  16. Y. Hoshen, R. J. Weiss, and K. W. Wilson. “Speech acoustic modeling from raw multichannel waveforms”. In: 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, Apr. 2015, pp. 4624–4628. isbn: 978-1-4673-6997-8. doi: 10.1109/ICASSP.2015.7178847. http://ieeexplore.ieee.org/document/7178847/.
  17. T. N. Sainath et al. “Learning the speech front-end with raw waveform CLDNNs”. In: Interspeech 2015. Vol. 2015-January. ISCA: ISCA, Sept. 2015, pp. 1–5. doi: 10.21437/Interspeech. 2015 - 1. https:// www. isca- speech. org/ archive/ interspeech_ 2015 / sainath15 _ interspeech.html.
  18. S. D. Hyun, I. K. Choi, and N. Soo. “Acoustic Scene Classification Using Parallel Combination of LSTM and CNN”. In: Proceedings of the Detection and Classification of Acous tic Scenes and Events 2016 Workshop (DCASE2016) September (2016). https://www.Hyun-Choi/abea9615a8b021a29c05e4b7f3ef9e7514fac39d.semanticscholar.org/paper/.
  19. R. F. Li and Q. Zhang. “Audio recognition of Chinese traditional instruments based on machine learning”. In: Cognitive Computation and Systems 4.2 (June 2022), pp. 108–115. issn: 25177567. doi: 10.1049/ccs2.12047.
  20. P. Li, J. Y. Qian, and T. Wang. “Automatic Instrument Recognition in Polyphonic Music Using Convolutional Neural Networks”. In: (Nov. 2015). http://arxiv.org/abs/1511. 05520.
  21. S. Allamy and A. L. Koerich. “1D CNN Architectures for Music Genre Classification”. In: (2021).
  22. M. Blaszke and B. Kostek. “Musical Instrument Identification Using Deep Learning Approach”. In: Sensors 22.8 (Apr. 2022). issn: 14248220. doi: 10.3390/s22083033.
  23. J. P. Lee et al. “SampleCNN: End-to-End Deep Convolutional Neural Networks Using Very Small Filters for Music Classification”. In: Applied Sciences 8.1 (Jan. 2018), p. 150. issn: 20763417. doi: 10.3390/app8010150. http://www.mdpi.com/2076-3417/8/1/150.
  24. J. Pons et al. “Timbre Analysis of Music Audio Signals with Convolutional Neural Networks”. In: (Mar. 2017). http://arxiv.org/abs/1703.06697.
  25. Q. L. Guo. “Research on Automatic Classification of Chinese National Folk Music from the Perspective of Mooc Based on Generalized Rule Induction Algorithm”. In: 2020 12th International Conference on Measuring Technology and Mechatronics Automation (ICMTMA). IEEE, Feb. 2020, pp. 586–590. isbn: 978-1-7281-7081-7. doi: 10.1109/ICMTMA50254.2020 . 00131. https://ieeexplore.ieee.org/document/9050309/.
  26. P. Y. Feng. “Music Classification and Recommendation Method Combining LSTM and AM”. In: Computer Science and Application 10.12 (2020), pp. 2280–2290. issn: 2161-8801. doi: 10.12677/CSA.2020.1012240.
  27. A. A. Alvarez and F. G´omez. “Motivic Pattern Classification of Music Audio Signals Combining Residual and LSTM Networks”. In: International Journal of Interactive Multimedia and Artificial Intelligence 6.6 (2021), p. 208. issn: 1989-1660. doi: 10.9781/ijimai.2021.01.003. https://www.ijimai.org/journal/sites/default/files/2021-05/ijimai_6_6_21.pdf.
  28. D. de Benito-Gorron et al. “Exploring convolutional, recurrent, and hybrid deep neural networks for speech and music detection in a large audio dataset”. In: EURASIP Journal on Audio, Speech, and Music Processing 2019.1 (Dec. 2019), p. 9. issn: 1687-4722. doi: 10.1186/s13636-019-0152-1.
  29. M. G. Ragab et al. “An ensemble one dimensional convolutional neural network with bayesian optimization for environmental sound classification”. In: Applied Sciences (Switzerland) 11.10 (May 2021). issn: 20763417. doi: 10.3390/app11104660.
  30. P. Fulzele et al. “A Hybrid Model for Music Genre Classification Using LSTM and SVM”. In: 2018 Eleventh International Conference on Contemporary Computing (IC3). IEEE, Aug. 2018, pp. 1–3. isbn: 978-1-5386-6834-4. doi: 10.1109/IC3.2018.8530557.
  31. J. Yu, X. O. Chen, and D. S. Yang. “Chinese Folk Musical Instruments Recognition in Polyphonic Music”. In: (2008).
  32. J. J. Bosch et al. “A comparison of sound segregation techniques for predominant instrument recognition in musical audio signals”. In: Proceedings of the 13th International Society for Music Information Retrieval Conference, ISMIR 2012. 2012.
  33. E. Manilow et al. “Cutting Music Source Separation Some Slakh: A Dataset to Study the Impact of Training Data Quality and Quantity”. In: Proc. IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA). IEEE. 2019.
  34. T. Bertin-Mahieux et al. “The Million Song Dataset”. In: Proceedings of the 12th International Conference on Music Information Retrieval (ISMIR 2011). 2011.
  35. E. Law et al. “Evaluation of Algorithms Using Games: The Case of Music Tagging.” In: Jan. 2009, pp. 387–392.
  36. Z. J. Li et al. DCMI: A Database of Chinese Musical Instruments. Tech. rep. 2018. http://www.cmimo.org/about.
  37. A. Kratimenos et al. “Augmentation Methods on Monophonic Audio for Instrument Classification in Polyphonic Music”. In: 2020 28th European Signal Processing Conference (EUSIPCO). IEEE, Jan. 2021, pp. 156–160. isbn: 978-9-0827-9705-3. doi: 10.23919/Eusipco47968.2020.9287745. https://ieeexplore.ieee.org/document/9287745/.
  38. Y. C. Han, J. H. Kim, and K. G. Lee. “Deep Convolutional Neural Networks for Predominant Instrument Recognition in Polyphonic Music”. In: IEEE/ACM Transactions on Audio, Speech, and Language Processing 25.1 (Jan. 2017), pp. 208–221. issn: 2329-9290. doi: 10.1109/TASLP.2016.2632307. http://ieeexplore.ieee.org/document/7755799/.
  39. J. Pons et al. “End-to-end learning for music audio tagging at scale”. In: Proceedings of the 19th International Society for Music Information Retrieval Conference, ISMIR 2018. 2018.
  40. J. P. Lee et al. “Raw Waveform-based Audio Classification Using Sample-level CNN Architectures”. In: (Dec. 2017). http://arxiv.org/abs/1712.00866
  41. M. Abadi et al. TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems. Software available from tensorflow.org. 2015. https://www.tensorflow.org/.
  42. A. Solanki and S. Pandey. “Music instrument recognition using deep convolutional neural networks”. In: International Journal of Information Technology (Singapore) 14.3 (May 2022), pp. 1659–1668. issn: 25112112. doi: 10.1007/s41870-019-00285-y.