JAIT 2023 Vol.14(1): 26-38
doi: 10.12720/jait.14.1.26-38

Gamelan Melody Generation Using LSTM Networks Controlled by Composition Meter Rules and Special Notes

Arry M. Syarif1,* , A. Azhari2 , S. Suprapto2 , K. Hastuti1

  • 1Faculty of Computer Science, Universitas Dian Nuswantoro, Semarang, Indonesia
  • 2Universitas Gadjah Mada, Indonesia

* Corresponding author

  • Manuscript receivedMay 22, 2022
  • revisedJuly 5, 2022
  • acceptedJuly 22, 2022
  • publishedFebruary 10, 2023

Abstract

This study proposes a Gamelan melody generation system based on three characteristics, which are the melodic patterns recognition, composition meter rules that control the duration of notes, and the special notes (pitches) selection which represent ambiguous rules in determining the Gamelan musical mode system. Long-Short Term Memory (LSTM) networks were trained using the sequence prediction technique to generate symbolic based Gamelan melodies. The dataset collected from sheet music was converted into ABC notation format, added with codes representing the composition meter and special notes, and restructured into a character-based representation format. The LSTM network training showed good results in the melodic patterns recognition but the networks take less than 10 attempts for the LSTM network to successfully generate one melody. The evaluation was conducted using experts’ judgment. Three generated melodies were sent to experts to be read, hummed and judged. Overall, the evaluation results showed that the generated melodies can comply with the characteristics of the Gamelan melodic patterns, the composition meter and the special notes.

Keywords

  • melody generation
  • melodic patterns
  • symbolic music
  • sequence prediction
  • long-short term memory
JAIT-V14N1-26

How to Cite

Copied

Arry M. Syarif, A. Azhari, S. Suprapto, and K. Hastuti, "Gamelan Melody Generation Using LSTM Networks Controlled by Composition Meter Rules and Special Notes," Journal of Advances in Information Technology, vol. 14, no. 1, pp. 26-38, 2023. https://doi.org/10.12720/jait.14.1.26-38

Copyright & License

Copyright © 2023 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions