Zulkipli Mansyur
Universitas Hamzanwadi

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Effects of Temperature Sampling and Tempo Variation on LSTM-Based Music Generation Imam Fathurrahman; Muhammad Djamaluddin; Ramli Ahmad; Hariman Bahtiar; Muhamad Sadali; Zulkipli Mansyur
Jurnal Masyarakat Informatika Vol 17, No 2 (2026): November 2026 (Ongoing Issue)
Publisher : Department of Informatics, Universitas Diponegoro

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.14710/jmasif.17.2.78593

Abstract

Long Short-Term Memory (LSTM) models for symbolic music generation may produce repetitive sequences under deterministic decoding. This study examines how sampling temperature and externally imposed tempo variation affect the statistical characteristics of generated MIDI music. A factorial experiment combined four decoding settings (Argmax and temperature sampling at T = 0.6, 0.7, and 1.0) with fixed- and dynamic-tempo rendering. Using one trained LSTM checkpoint and controlled seeds, 40 MIDI files were generated across eight conditions, with five runs per condition. The dataset was split by MIDI file before sequence construction to reduce data leakage. Generated outputs were assessed using pitch entropy, repetition ratios, N-gram overlap, pitch-class distribution similarity, rhythmic diversity, and tempo statistics. At T = 1.0, mean pitch entropy was highest (5.57 ± 0.13 bits), immediate repetition lowest (0.10 ± 0.01), and Chroma Jensen-Shannon Divergence lowest (0.0244 ± 0.0163). Higher temperatures also reduced trigram overlap with the validation corpus, indicating a diversity-similarity trade-off. Dynamic-tempo rendering introduced timing variation without changing pitch-based metrics under matched sampling conditions. These results distinguish effects of token sampling from tempo rendering but do not establish perceptual musical quality.