Skip to content

andreasjansson/music-inpainting-bert

Repository files navigation

Joint melody and chord inpainting with BERT

Model

This project uses a custom BERT model that is masking both melody and chords in the same piece of music.

Data representation

The model takes as input beat-quantized chord labels and beat-quantized melodic patterns.

Melodic patterns

Melodies are split into beat-sized chunks, where each chunk is quantized to 16th notes. The chunks are stored in a look-up table.

Dataset

The model is trained on the Wikifonia dataset.

About

Joint melody and chord inpainting model using BERT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages