Controlling Emotion in Text-to-Speech with Natural Language Prompts

Thomas Bott, Florian Lux, Ngoc Thang Vu
6/10/2024
cs.CLcs.SDeess.AS

No official code found. Best implementation: DigitalPhonetics/IMS-Toucan (2,211 stars, Apache-2.0, PyTorch, last commit 2026-01-25).

Abstract

In recent years, prompting has quickly become one of the standard ways of steering the outputs of generative machine learning models, due to its intuitive use of natural language. In this work, we propose a system conditioned on embeddings derived from an emotionally rich text that serves as prompt. Thereby, a joint representation of speaker and prompt embeddings is integrated at several points within a transformer-based architecture. Our approach is trained on merged emotional speech and text datasets and varies prompts in each training iteration to increase the generalization capabilities of the model. Objective and subjective evaluation results demonstrate the ability of the conditioned synthesis system to accurately transfer the emotions present in a prompt to speech. At the same time, precise tractability of speaker identities as well as overall high speech quality and intelligibility are maintained.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Controllable and fast Text-to-Speech for over 7000 languages!

2,211319PythonAug 5, 20218 months agoApache-2.0
deep-learningpytorchspeechspeech-processingspeech-synthesis+3 more

Similar Papers

Cite this paper

@article{bott2024controlling,
  title  = {Controlling Emotion in Text-to-Speech with Natural Language Prompts},
  author = {Thomas Bott and Florian Lux and Ngoc Thang Vu},
  year   = {2024},
  eprint = {2406.06406},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.06406v2}
}

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/2406.06406.svg)](https://codeofpaper.com/paper/2406.06406)

Discussion