{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,14]],"date-time":"2026-07-14T00:33:10Z","timestamp":1783989190006,"version":"3.55.0"},"reference-count":35,"publisher":"European Society of Computational Methods in Sciences and Engineering","issue":"5","license":[{"start":{"date-parts":[[2025,4,24]],"date-time":"2025-04-24T00:00:00Z","timestamp":1745452800000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/journals.sagepub.com\/page\/policies\/text-and-data-mining-license"}],"funder":[{"name":"Science and Technology Research Program of Chongqing Municipal Education Commission","award":["KJQN202402906"],"award-info":[{"award-number":["KJQN202402906"]}]}],"content-domain":{"domain":["journals.sagepub.com"],"crossmark-restriction":true},"short-container-title":["Journal of Computational Methods in Sciences and Engineering"],"published-print":{"date-parts":[[2025,9]]},"abstract":"<jats:p>Existing music sequence generation methods often struggle with long-range dependencies, leading to gradient vanishing or exploding, which compromises their ability to capture intricate musical structures. This study integrates the Transformer model, leveraging its self-attention mechanism and position encoding to incorporate global information at each time step. This approach enables the flexible modeling of long-range dependencies, resulting in more natural and harmonically coherent music sequences. First, serialized encoding is employed to transform musical events. A multi-scale attention mechanism is then introduced, applying different attention strategies at each layer to capture distinct musical elements across various time scales. Additionally, periodic position encoding is incorporated to enhance the recognition of recurrent musical patterns. Experimental results demonstrate that compared to state-of-the-art models such as MuseNet, MelodyRNN, and MusicTransformer, the proposed method reduces average perplexity by 5.4%, 11.7%, and 9.5% on one dataset and 5.9%, 12.1%, and 10.3% on another. These findings highlight the model\u2019s superior capability in generating high-quality music with enhanced melodic consistency and diversity. By outperforming existing mainstream approaches across multiple evaluation metrics, this research advances the field of music sequence generation, offering new insights for AI-driven music composition and arrangement.<\/jats:p>","DOI":"10.1177\/14727978251337904","type":"journal-article","created":{"date-parts":[[2025,4,24]],"date-time":"2025-04-24T11:41:49Z","timestamp":1745494909000},"page":"3986-3999","update-policy":"https:\/\/doi.org\/10.1177\/sage-journals-update-policy","source":"Crossref","is-referenced-by-count":3,"title":["Music sequence generation and arrangement based on transformer model"],"prefix":"10.66113","volume":"25","author":[{"given":"Xiao Hong","family":"Cui","sequence":"first","affiliation":[{"name":"School of Music and Dance, Chongqing Preschool Education College, Chongqing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Pan","family":"Hu","sequence":"additional","affiliation":[{"name":"School of Music and Dance, Chongqing Preschool Education College, Chongqing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-3517-1512","authenticated-orcid":false,"given":"Zheng","family":"Huang","sequence":"additional","affiliation":[{"name":"School of Music and Dance, Chongqing Preschool Education College, Chongqing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"55691","published-online":{"date-parts":[[2025,4,24]]},"reference":[{"key":"e_1_3_3_2_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10994-023-06309-w"},{"key":"e_1_3_3_3_2","doi-asserted-by":"publisher","DOI":"10.3390\/app13074543"},{"key":"e_1_3_3_4_2","doi-asserted-by":"publisher","DOI":"10.5815\/ijmecs.2024.01.03"},{"key":"e_1_3_3_5_2","doi-asserted-by":"publisher","DOI":"10.3390\/app12105050"},{"key":"e_1_3_3_6_2","doi-asserted-by":"publisher","DOI":"10.1631\/FITEE.2300359"},{"key":"e_1_3_3_7_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597493"},{"key":"e_1_3_3_8_2","doi-asserted-by":"publisher","DOI":"10.3390\/pr10122515"},{"key":"e_1_3_3_9_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10489-023-04664-8"},{"key":"e_1_3_3_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/3374915"},{"key":"e_1_3_3_11_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11227-022-04914-5"},{"key":"e_1_3_3_12_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11227-023-05704-3"},{"key":"e_1_3_3_13_2","doi-asserted-by":"publisher","DOI":"10.1109\/MMUL.2020.3046491"},{"key":"e_1_3_3_14_2","doi-asserted-by":"publisher","DOI":"10.3390\/electronics10182276"},{"key":"e_1_3_3_15_2","doi-asserted-by":"publisher","DOI":"10.69511\/ijdsaa.v6i6.231"},{"key":"e_1_3_3_16_2","doi-asserted-by":"publisher","DOI":"10.4018\/IJSWIS.343491"},{"key":"e_1_3_3_17_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10489-022-04049-3"},{"key":"e_1_3_3_18_2","doi-asserted-by":"publisher","DOI":"10.4018\/IJMDEM.2020070103"},{"issue":"3","key":"e_1_3_3_19_2","first-page":"1","article-title":"Global digital compact: a mechanism for the governance of online discriminatiory and misleading CONTENT generation","volume":"2","author":"Li Z","year":"2024","unstructured":"Li Z, Zhang WY, Zhang HT, et al. Global digital compact: a mechanism for the governance of online discriminatiory and misleading CONTENT generation. Int. J. Hum.-Comput. Interact 2024; 2(3): 1\u201328.","journal-title":"Int. J. Hum.-Comput. Interact"},{"key":"e_1_3_3_20_2","doi-asserted-by":"publisher","DOI":"10.3390\/s25020386"},{"key":"e_1_3_3_21_2","doi-asserted-by":"publisher","DOI":"10.3233\/SW-210446"},{"key":"e_1_3_3_22_2","doi-asserted-by":"publisher","DOI":"10.1007\/s41095-024-0417-1"},{"key":"e_1_3_3_23_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10489-023-04927-4"},{"key":"e_1_3_3_24_2","doi-asserted-by":"publisher","DOI":"10.3233\/IDA-227006"},{"key":"e_1_3_3_25_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00034-023-02454-8"},{"key":"e_1_3_3_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/3635158"},{"issue":"5","key":"e_1_3_3_27_2","first-page":"51","article-title":"Automatic composition based on collaborative generation of multiple Transformer networks","volume":"41","author":"Wang S","year":"2022","unstructured":"Wang S, Jinlong L. Automatic composition based on collaborative generation of multiple Transformer networks. Information Technology & Network Security\/Xinxi Jishu yu Wangluo Anquan 2022; 41(5): 51\u201358.","journal-title":"Information Technology & Network Security\/Xinxi Jishu yu Wangluo Anquan"},{"issue":"12","key":"e_1_3_3_28_2","first-page":"3585","article-title":"Transformer-based multi-track music generative adversarial network","volume":"41","author":"Wang T","year":"2021","unstructured":"Wang T, Jin C, Xiaobing L, et al. Transformer-based multi-track music generative adversarial network. J Comput Appl 2021; 41(12): 3585\u20133589.","journal-title":"J Comput Appl"},{"issue":"1","key":"e_1_3_3_29_2","first-page":"1","article-title":"A comparative study of LSTM and transformer models in music melody generation","volume":"1","author":"Zheng J","year":"2023","unstructured":"Zheng J, Cao M. A comparative study of LSTM and transformer models in music melody generation. Journal of Global Arts Studies (JGAS) 2023; 1(1): 1\u201310.","journal-title":"Journal of Global Arts Studies (JGAS)"},{"key":"e_1_3_3_30_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11042-021-11881-1"},{"key":"e_1_3_3_31_2","doi-asserted-by":"publisher","DOI":"10.3390\/math11081915"},{"key":"e_1_3_3_32_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10618-023-00948-2"},{"key":"e_1_3_3_33_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00371-022-02503-4"},{"key":"e_1_3_3_34_2","doi-asserted-by":"publisher","DOI":"10.35940\/ijitee.F3580.049620"},{"issue":"10","key":"e_1_3_3_35_2","first-page":"163","article-title":"Study of generation based on recurrent neural networks","volume":"9","author":"Sun L","year":"2023","unstructured":"Sun L. Study of generation based on recurrent neural networks. International Core Journal of Engineering 2023; 9(10): 163\u2013168.","journal-title":"International Core Journal of Engineering"},{"key":"e_1_3_3_36_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00530-023-01245-0"}],"container-title":["Journal of Computational Methods in Sciences and Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.1177\/14727978251337904","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/full-xml\/10.1177\/14727978251337904","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.1177\/14727978251337904","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,4,21]],"date-time":"2026-04-21T22:05:55Z","timestamp":1776809155000},"score":1,"resource":{"primary":{"URL":"https:\/\/journals.sagepub.com\/doi\/10.1177\/14727978251337904"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,4,24]]},"references-count":35,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2025,9]]}},"alternative-id":["10.1177\/14727978251337904"],"URL":"https:\/\/doi.org\/10.1177\/14727978251337904","relation":{},"ISSN":["1472-7978","1875-8983"],"issn-type":[{"value":"1472-7978","type":"print"},{"value":"1875-8983","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,4,24]]}}}