Masked Expressiveness: Conditioned Generation of Piano Key Striking Velocity Using Masked Language Modeling

Authors

  • Linzan Ye

DOI:

https://doi.org/10.54097/c3pza754

Keywords:

Masked Language Modeling, Music Generation, BERT.

Abstract

Creating and experiencing expressive renditions of composed musical pieces are fundamental to how people engage with music. Numerous studies have focused on building computational models of musical expressiveness to gain a deeper understanding of its nature and explore potential applications. This paper examines masked language modeling (MLM) for modeling expressiveness in piano performance, specifically targeting the prediction of key striking velocity using vanilla Bidirectional Encoder Representations from Transformers (BERT). While MLM has been explored in previous studies, this work applies it in a novel direction by concentrating on the fine-grained conditioned prediction of velocity information. The results show that the model can predict masked velocity events in various contexts within an acceptable margin of error, relying solely on the pitch, timing, and velocity data encoded in Musical Instrument Digital Interface (MIDI) files. Additionally, the study employs a sequential masking and prediction approach toward rendering the velocity of unseen MIDI files and achieves more musically convincing results. This approach holds promise for developing interactive systems for expressive performance generation, such as advanced piano conducting or accompaniment systems.

Downloads

Download data is not yet available.

References

[1] Chapin, H., Jantzen, K., Kelso, J. S., Steinberg, F., & Large, E. (2010). Dynamic emotional and neural responses to music depend on performance expression and listener experience. PloS one, 5 (12), e13812.

[2] Hailstone, J. C., Omar, R., Henley, S. M., Frost, C., Kenward, M. G., & Warren, J. D. (2009). It's not what you play, it's how you play it: Timbre affects perception of emotion in music. Quarterly journal of experimental psychology, 62 (11), 2141-2155.

[3] Hart, H. C., Fuller, M. W., & Lusby, W. S. (1934). A precision study of piano touch and tone. The Journal of the Acoustical Society of America, 6 (2), 80-94.

[4] Friberg, A., Bresin, R., & Sundberg, J. (2006). Overview of the KTH rule system for musical performance. Advances in cognitive psychology, 2 (2), 145.

[5] Oore, S., Simon, I., Dieleman, S., Eck, D., & Simonyan, K. (2020). This time with feeling: Learning expressive musical performance. Neural Computing and Applications, 32, 955-967.

[6] Jeong, D., Kwon, T., Kim, Y., Lee, K., & Nam, J. (2019, November). VirtuosoNet: A Hierarchical RNN-based System for Modeling Expressive Piano Performance. In ISMIR (pp. 908-915).

[7] Tang, J., Wiggins, G., & Fazekas, G. (2023). Reconstructing Human Expressiveness in Piano Performances with a Transformer Network. arXiv preprint arXiv: 2306.06040.

[8] Meade, N., Barreyre, N., Lowe, S. C., & Oore, S. (2019). Exploring conditioning for generative music systems with human-interpretable controls. arXiv preprint arXiv: 1907.04352.

[9] Fujishima, A. M. K. Y. T. (2018). Rendering music performance with interpretation variations using conditional variational rnn. ISMIR.

[10] Rhyu, S., Kim, S., & Lee, K. (2022). Sketching the expression: flexible rendering of expressive piano performance with self-supervised learning. arXiv preprint arXiv: 2208.14867.

[11] Woody, R. H. (1999). The relationship between explicit planning and expressive performance of dynamic variations in an aural modeling task. Journal of research in music Education, 47 (4), 331-342.

[12] Chou, Y. H., Chen, I., Chang, C. J., Ching, J., & Yang, Y. H. (2021). MidiBERT-piano: large-scale pre-training for symbolic music understanding. arXiv preprint arXiv: 2107.05223.

[13] Repp, B. H. (1992). Diversity and commonality in music performance: An analysis of timing microstructure in Schumann’s ‘‘Träumerei’’. The Journal of the Acoustical Society of America, 92 (5), 2546-2568.

[14] Devlin, J. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv: 1810.04805.

[15] Hawthorne, C., Stasyuk, A., Roberts, A., Simon, I., Huang, C. Z. A., Dieleman, S., ... & Eck, D. (2018). Enabling factorized piano music modeling and generation with the MAESTRO dataset. arXiv preprint arXiv: 1810.12247.

[16] Rhyu, S., Kim, S., & Lee, K. (2022). Sketching the expression: flexible rendering of expressive piano performance with self-supervised learning. arXiv preprint arXiv: 2208.14867.

[17] Zhang, H., Tang, J., Rafee, S., Dixon, S., Fazekas, G., & Wiggins, G. (2023). ATEPP: A dataset of automatically transcribed expressive piano performance.

Downloads

Published

26-12-2024