Nanyin is one of China’s four major ancient musical traditions, with a long history. However, due to its limited repertoire and singular methods of dissemination, Nanyin faces challenges in terms of inheritance and development. Based on the first Pipa dataset for automatic Nanyin generation, this paper proposes a method for generating Nanyin compositions. In the first stage, musical attributes are automatically extracted from the input sequence, with both direct and latent attributes defined to generate musical features. In the second stage, a Transformer-based generative model is employed to perform bar-level conditional generation through self-supervised learning, using the extracted attributes as control signals. Experimental results show that the model performs excellently in terms of sample quality, generating Nanyin music that resembles the input style and demonstrates diversity and artistic value comparable to human compositions.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Conditional Generation of Nanyin with Transformer

  • Jianbing Xiahou,
  • Yuan Fang,
  • Xu Cui

摘要

Nanyin is one of China’s four major ancient musical traditions, with a long history. However, due to its limited repertoire and singular methods of dissemination, Nanyin faces challenges in terms of inheritance and development. Based on the first Pipa dataset for automatic Nanyin generation, this paper proposes a method for generating Nanyin compositions. In the first stage, musical attributes are automatically extracted from the input sequence, with both direct and latent attributes defined to generate musical features. In the second stage, a Transformer-based generative model is employed to perform bar-level conditional generation through self-supervised learning, using the extracted attributes as control signals. Experimental results show that the model performs excellently in terms of sample quality, generating Nanyin music that resembles the input style and demonstrates diversity and artistic value comparable to human compositions.