A Study on Automatic Composition for Chinese Wind Piano in the Framework of Autoregressive Language Modeling
Published Online: Dec 11, 2023
Received: Feb 17, 2023
Accepted: Jun 21, 2023
DOI: https://doi.org/10.2478/amns.2023.2.01432
Keywords
© 2023 Xueer Bai, published by Sciendo
This work is licensed under the Creative Commons Attribution 4.0 International License.
Based on the framework of autoregressive language modeling, this paper analyzes the word frequency characteristics and introduces a quartile inverse probability weighted sampling algorithm in probability distribution prediction to regulate the quality and diversity of the generated music. Through the effective division of the subset of high-frequency words by this algorithm, a polyphonic piano transcription model is established, which enhances the rationality of the predicted probability distribution of piano composition. Meanwhile, objective evaluation metrics are designed for the pentatonic tonal form of Gong tuning to quantitatively assess the results of automatic composition for Chinese-style piano. It is proved that the proposed model performs well in music generation, with an average generation time of only 6.9s and a model parameter count of 2.7M, which can provide strong support and validation for the automatic composition of the Chinese wind piano.