MusPyExpress: Extending MusPy with Enhanced Expression Text Support
Organizations: Computer Science & Engineering Department, University of California, San Diego · Department of Performing Arts Technology, University of Michigan, Ann Arbor
Abstract
Current work in modeling symbolic music primarily relies on representations extracted from MIDI-like data. While such formats allow for modeling symbolic music as sequences of notes, they omit the large space of symbolic annotations common in western sheet music broadly known as expression text, such as tempo or dynamics, which specify time- and velocity-dependent controls on the musical composition and performance. To alleviate this gap, we present MusPyExpress, an extension to the popular symbolic music processing library MusPy that enables the extraction of expression text along with symbolic music for downstream modeling. Utilizing this extension, we parse the PDMX dataset to illustrate the wealth of expression text available in MusicXML datasets. Additionally, we introduce multiple generative tasks, including joint expression-note generation, expression-conditioned music generation, and expression tagging, that take advantage of this additional notational information.
Figures & tables
| Model | PCE | SC (%) | GC (%) | Perplexity ( ) |
|---|---|---|---|---|
| Ground Truth | - | |||
| Baseline ( M ) | ||||
| Joint, Prefix ( M ) | 2.64 | |||
| Joint, Anticipation ( M ) | ||||
| Conditional, Prefix ( M ) | ||||
| Conditional, Anticipation ( M ) |
| Model | Beat | Position | Time | Value | Duration | Total |
|---|---|---|---|---|---|---|
| Baseline ( ) | 11.36 | 86.34 | - | 1.26 | 14.68 | 0.05 |
| Prefix ( ) | 62.80 | 93.55 | - | 55.60 | 54.15 | 29.41 |
| Anticipation ( ) | 59.78 | 92.73 | - | 50.43 | 50.11 | 24.41 |
| Baseline ( ) | - | - | 4.17 | 13.86 | 59.02 | 1.63 |
| Prefix ( ) | - | - | 46.05 | 57.39 | 66.54 | 33.90 |
| Anticipation ( ) | - | - | 40.25 | 53.32 | 65.60 | 27.75 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Expression Text Type | Count |
|---|---|
| Tempo | 1,082,640 |
| Dynamic | 1,069,492 |
| Text | 467,479 |
| Barline | 336,029 |
| Rehearsal Mark | 176,579 |
| Hair Pin Spanner | 164,014 |
Symbolic Music Generation
Symbolic music generation creates and edits music as structured notes, rhythms, chords, and scores rather than directly as audio.
See all 58 papers