Gamelan Rindik Classification Based On Mood Using K-Nearest Neigbor Method
Main Article Content
Abstract
The Balinese rindik gamelan is a traditional Balinese music that has a function as a balih-balihan art or as entertainment among the people during the royal era and has the same function until now. The simple rindik gamelan technique will produce a harmonious and melodious composition of tones, so that it acts as a stimulus carrier that can affect psychology and mood for the listener. This condition is caused by stress levels and energy levels. According to the mood theory by Thayer, music with positive stress levels and low energy refers to a pleasant (calm) mood, while positive stress levels and high energy levels refer to a happy (happy) mood. This study applies a branch of data mining, namely Music Information Retrieval (MIR) by classifying gamelan rindik labels based on the mood of the K-Nearest Neighbor strategy method. The algorithm is suitable to be implemented in nonlinear data sets such as music/song data, because the class decision line generated by K-NN is flexible. The data used are pieces of music files in mono .wav format with a duration of 20 seconds, which are then classified using the K-NN algorithm by the system. The resulting output is in the form of a mood label, namely satisfaction or joy. The results of the test using the confusion matrix obtained the percentage of classification accuracy 81%, recall 90.5%, precision 76%, and F-score 82.6% to find the average harmonic precision and recall. When compared with tests with accuracy, the same accuracy results are obtained, namely 81% or the best accuracy at a value of k = 7 and the fastest processing time is 0.0258 seconds.
Downloads
Article Details
[2] R. E. Thayer, The biopsychology of mood and arousal. Oxford University Press, 1990.
[3] Y. S. Seo and J. H. Huh, “Automatic emotion-based music classification for supporting intelligent IoT applications,” Electron., vol. 8, no. 2, pp. 1–20, 2019, doi: 10.3390/electronics8020164.
[4] R. E. Thayer, J. R. Newman, and T. M. McClain, “Self-regulation of mood: strategies for changing a bad mood, raising energy, and reducing tension.,” J. Pers. Soc. Psychol., vol. 67, no. 5, p. 910, 1994.
[5] N. Zhou, “Database design of regional music characteristic culture resources based on improved neural network in data mining,” Pers. Ubiquitous Comput., vol. 24, no. 1, pp. 103–114, 2020.
[6] T. H. Fratiwi, M. Sudarma, and N. Pramaita, “Sistem Klasifikasi Musik Gamelan Angklung Bali Terhadap Suasana Hati Menggunakan Algoritma K-Nearest Neighbor Berbasis Algoritma Genetika,” Maj. Ilm. Teknol. Elektro, vol. 20, no. 2, p. 265, 2021, doi: 10.24843/mite.2021.v20i02.p10.
[7] G. Harsemadi, M. Sudarma, and N. Pramaita, “Implementasi Algoritma K-Nearest Neighbor pada Perangkat Lunak Pengelompokan Musik untuk Menentukan Suasana Hati,” Maj. Ilm. Teknol. Elektro, vol. 16, no. 1, pp. 14–20, 2017, doi: 10.24843/mite.1601.03.
[8] R. Y. Sipasulta, A. S. M. Lumenta, and S. R. U. A. Sompie, “Simulasi Sistem Pengacak Sinyal Dengan Metode FFT (Fast Fourier Transform),” J. Tek. Elektro dan Komput., vol. 3, no. 2, pp. 1–9, 2014.
[9] D. T. Kusuma, “Fast Fourier Transform ( FFT ) Dalam Transformasi Sinyal Frekuensi Suara Sebagai Upaya Perolehan Average Energy ( AE ) Musik,” vol. 14, no. 1, pp. 28–35, 2021, doi: https://doi.org/10.33322/petir.v14i1.1022.
[10] A. Lerch, An introduction to audio content analysis: Applications in signal processing and music informatics. 2012. doi: 10.1002/9781118393550.
[11] D. Suyanto, “Data Mining untuk klasifikasi dan klasterisasi data,” Bandung Inform. Bandung, 2017.
[12] A. J. T, D. Yanosma, and K. Anggriani, “Implementasi Metode K-Nearest Neighbor (KNN) dan Simple Additive Weighting (SAW) Dalam Pengambilan Keputusan Seleksi Penerimaan Anggota Paskibraka,” vol. III, no. 0065, pp. 98–112, 2016.
[13] K. Shah, H. Patel, D. Sanghvi, and M. Shah, “A comparative analysis of logistic regression, random forest and KNN models for the text classification,” Augment. Hum. Res., vol. 5, no. 1, pp. 1–16, 2020.
[14] M. A. A. K. Indrayanti, Devi Sugianti, “OPTIMASI PARAMETER K PADA ALGORITMA K-NEAREST NEIGHBOUR UNTUK KLASIFIKASI PENYAKIT DIABETES MELLITUS,” pp. 823–829, 2017.
[15] F. Satria, Z. Zamhariri, and M. A. Syaripudin, “Prediksi Ketepatan Waktu Lulus Mahasiswa Menggunakan Algoritma C4.5 Pada Fakultas Dakwah Dan Ilmu Komunikasi UIN Raden Intan Lampung,” J. Ilm. Matrik, vol. 22, no. 1, pp. 28–35, 2020, doi: 10.33557/jurnalmatrik.v22i1.836.

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.