PA 3: Automatic Music Instrumentation

PAT 464/564: Generative AI for Music and Audio Creation (Winter 2026)

Due at 11:59pm ET on Mar 16


Instructions


Automatic Music Instrumentation

In this assignment, you will train a transformer model for automatic instrumentation that can dynamically assign instruments to notes in solo music. We will be using the Lakh MIDI dataset (Raffel, 2016). The LMD dataset is a collection of 176,581 unique MIDI files, 45,129 of which have been matched and aligned to entries in the Million Song Dataset. Specifically, we will use a cleaner subset (Dong et al., 2018) consisting of 21,425 files. We will base our model on the Arranger framework (Dong et al., 2021). To simplify the task, we will group MIDI instruments into five tracks: piano, guitar, bass, strings, and brass.

Arranger


Open In Colab

Jupyter notebook


References


Hosted on GitHub Pages. Powered by Jekyll. Theme adapted from minimal by orderedlist.