Text-Driven Foley Sound Generation With Latent Diffusion Model

Yi Yuan, Haohe Liu, Xubo Liu, Xiyuan Kang, Peipei Wu +2 more
6/17/2023
15 citations
cs.SDcs.AIcs.LG
diffusion-flow

Official code: yyua8222/Dcase2023_task7 (7 stars, Python, last commit 2023-07-11).

Abstract

Foley sound generation aims to synthesise the background sound for multimedia content. Previous models usually employ a large development set with labels as input (e.g., single numbers or one-hot vector).

Show full abstract

In this work, we propose a diffusion model based system for Foley sound generation with text conditions. To alleviate the data scarcity issue, our model is initially pre-trained with large-scale datasets and fine-tuned to this task via transfer learning using the contrastive language-audio pertaining (CLAP) technique. We have observed that the feature embedding extracted by the text encoder can significantly affect the performance of the generation model. Hence, we introduce a trainable layer after the encoder to improve the text embedding produced by the encoder. In addition, we further refine the generated waveform by generating multiple candidate audio clips simultaneously and selecting the best one, which is determined in terms of the similarity score between the embedding of the candidate clips and the embedding of the target text label. Using the proposed method, our system ranks ${1}^{st}$ among the systems submitted to DCASE Challenge 2023 Task 7. The results of the ablation studies illustrate that the proposed techniques significantly improve sound generation performance. The codes for implementing the proposed system are available online.

View on arXivView PDF

Code Implementations(1)

This is the code for Dcase 2023 Challenge task 7

72PythonMay 9, 20233 years ago

Similar Papers

Cite this paper

@article{yuan2023textdriven,
  title  = {Text-Driven Foley Sound Generation With Latent Diffusion Model},
  author = {Yi Yuan and Haohe Liu and Xubo Liu and Xiyuan Kang and Peipei Wu and Mark D. Plumbley and Wenwu Wang},
  year   = {2023},
  eprint = {2306.10359},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.10359v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.10359.svg)](https://codeofpaper.com/paper/2306.10359)

Discussion