Skip to content

Kikyo-16/coco-mulla-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coco-mulla

Offical repository of Content-based Controls For Music Large Language Modeling. You can visit our demo page here.

Quick Start

Requirements

The project requires Python 3.11. See requirements.txt.

pip install -r requirements.txt

Inference

python inference.py --num_layers=48 --latent_dim=12 \
                    --output_folder=your_output_folder \
                    --model_path=your_model_weight_path \
                    --audio_path=your_audio_path \
                    --midi_path=your_midi_path \
                    --chord_path=your_chord_path \
                    --prompt_path=your_prompt_path \
                    --onset=your_onset  

See demo folder for the input data format. Onset should be a number indicating the starting second of the input audio.

Model Weights

We provide with model weights with r=0.2 and r=0.4. Download them via model weights.

How to cite

@misc{lin2023contentbased,
  title={Content-based Controls For Music Large Language Modeling}, 
  author={Liwei Lin and Gus Xia and Junyan Jiang and Yixiao Zhang},
  year={2023},
  eprint={2310.17162},
  archivePrefix={arXiv},
  primaryClass={cs.AI}
}

About

Official source codes of coco-mulla

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published