haoheliu / AudioLDM
- среда, 15 февраля 2023 г. в 00:13:39
AudioLDM: Generate speech, sound effects, music and beyond, with text.
Generate speech, sound effects, music and beyond.
conda create -n audioldm python=3.8; conda activate audioldm
pip3 install audioldm==0.0.6
git clone https://github.com/haoheliu/AudioLDM; cd AudioLDM
python3 app.py
# Optional
conda create -n audioldm python=3.8; conda activate audioldm
# Install AudioLDM
pip3 install audioldm==0.0.6
# Test run
audioldm -t "A hammer is hitting a wooden surface"
For more options on guidance scale, batchsize, seed, etc, please run
audioldm -h
For the evaluation of audio generative model, please refer to audioldm_eval.
Integrated into Hugging Face Spaces
If you found this tool useful, please consider citing
@article{liu2023audioldm,
title={AudioLDM: Text-to-Audio Generation with Latent Diffusion Models},
author={Liu, Haohe and Chen, Zehua and Yuan, Yi and Mei, Xinhao and Liu, Xubo and Mandic, Danilo and Wang, Wenwu and Plumbley, Mark D},
journal={arXiv preprint arXiv:2301.12503},
year={2023}
}
Part of the code is borrowed from the following repos. We would like to thank the authors of these repos for their contribution.
We build the model with data from AudioSet, Freesound and BBC Sound Effect library. We share this demo based on the UK copyright exception of data for academic research.