Melody prediction of vocal performance using LSTM and attention mechanism and its application in folk music innovation
Journal of Computational Methods in Sciences and Engineering · 2025-07 · 25 (4) · 3608-3622
DOI: 10.1177/14727978251324133 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Computational Methods in Sciences and Engineering, online erschienen am 28.02.2025. Verfasst von Yumei Zhang und 1 weiteren Autor:innen. Die Arbeit wurde bisher 2-mal zitiert (Crossref) und nennt 36 Literaturangaben. Gefördert von: The 2023 Linyi University First-class Course “Vocal Music Appreciation”, The 2022 High Education Research Project of Shandong High Education Society, Linyi University Social Science Research Project “Children’s Art Talent Development Plan”.
Abstract (Originalsprache)
This paper combines Long Short-Term Memory (LSTM) and Self-Attention mechanisms to predict melody direction in vocal performances, exploring its application in folk music innovation to enhance expressiveness and creative diversity. Using the MAESTRO dataset, which includes audio and MIDI data, the continuous note sequence is divided into fixed-length segments (20 notes each) via a sliding window. The LSTM model captures temporal dependencies in the sequence, while Self-Attention assigns varying weights to inputs across time steps to better capture global context. To overcome the limitations of traditional pitch prediction methods, 10-fold cross-validation is employed to evaluate model performance. Experimental results show that with a window size of 20, the Mean Squared Error (MSE) is 0.023, and training takes 86 minutes, yielding the most balanced results across all configurations. Compared to Bi-LSTM and MusicTransformer, the proposed model excels in pitch prediction accuracy, achieving an average Mean Absolute Error (MAE) of 0.022, R 2 of 0.895, and Pearson Correlation Coefficient (PCC) of 0.925. The model is also tested in the creation of six types of folk music, demonstrating that while it reduces creation time, the harmony consistency slightly lags behind manually created melodies. This model has significant potential in pitch prediction and folk music creation, offering a valuable tool for music composition with high practical application value.
Förderung
- The 2023 Linyi University First-class Course “Vocal Music Appreciation”
- The 2022 High Education Research Project of Shandong High Education Society
- Linyi University Social Science Research Project “Children’s Art Talent Development Plan”
- Linyi University Social Science Research Project “Research on Teenagers’ Art and Media Literacy Education”
Zitieren
APA
Zhang, Y., & Liu, C. (2025). Melody prediction of vocal performance using LSTM and attention mechanism and its application in folk music innovation. Journal of Computational Methods in Sciences and Engineering, 25(4), 3608-3622. https://doi.org/10.1177/14727978251324133
Vancouver
Zhang Y, Liu C. Melody prediction of vocal performance using LSTM and attention mechanism and its application in folk music innovation. Journal of Computational Methods in Sciences and Engineering. 2025;25(4):3608-3622. doi:10.1177/14727978251324133
BibTeX
@article{Zhang2025,
author = {Zhang, Yumei and Liu, Changlong},
title = {Melody prediction of vocal performance using LSTM and attention mechanism and its application in folk music innovation},
journal = {Journal of Computational Methods in Sciences and Engineering},
year = {2025},
volume = {25},
number = {4},
pages = {3608--3622},
doi = {10.1177/14727978251324133}
}
EUVIMED