This repository extends control-transfer-diffusion with a new architecture and training strategy for disentangled music representation learning.
Our work introduces targeted modifications to improve the separation of timbral, structural, and music-theoretic information, enabling finer control over music generation tasks.
This project is currently under review. We will update this repository with the final citation once available.
What's New
Theory Encoder: Captures global musical attributes like key and tempo.
Pitch Conditioning Module: Guides the structure encoder to better capture note-level content.
Timbre Pretraining: Improved warm-up stage to focus timbre embeddings on timbral features only.
Updated Adversarial Objective: Stronger disentanglement between structure, timbre, and theory.
First, preprocess the dataset into LMDB format. You can speed up training by precomputing the encoded embeddings during LMDB creation. To do so, provide the path to the autoencoder checkpoint: