Using a text description as prompt to guide the generation of text or images (e.g., GPT-3 or DALLE-2) has drawn wide attention recently. Beyond text and image generation, in this work, we explore the possibility of utilizing text descriptions to guide speech synthesis. Thus, we develop a text-to-speech (TTS) system (dubbed as PromptTTS) that takes a prompt with both style and content descriptions as input to synthesize the corresponding speech. Specifically, PromptTTS consists of a style encoder and a content encoder to extract the corresponding representations from the prompt, and a speech decoder to synthesize speech according to the extracted style and content representations. Compared with previous works in controllable TTS that require users to have acoustic knowledge to understand style factors such as prosody and pitch, PromptTTS is more user-friendly since text descriptions are a more natural way to express speech style (e.g., ''A lady whispers to her friend slowly''). Given that there is no TTS dataset with prompts, to benchmark the task of PromptTTS, we construct and release a dataset containing prompts with style and content information and the corresponding speech. Experiments show that PromptTTS can generate speech with precise style control and high speech quality. Audio samples and our dataset are publicly available.
翻译:使用文本描述来指导文本或图像的生成( 如 GPT-3 或 DALLE-2), 最近引起广泛关注。 除了文本和图像生成之外, 我们在此工作中探索了使用文本描述来指导语音合成的可能性。 因此, 我们开发了一个文本到语音系统( 以“ 提示TTTS ” ), 以文字和内容描述来快速作为合成相应语音的输入。 具体地说, 提示TTS 包含一个风格编码器和内容编码器, 以从提示中提取相应的表达, 以及一个语音解码器, 以根据提取的风格和内容表达方式合成演讲。 与以前在可控制 TTS 中要求用户拥有声学知识来理解风格因素( Prosory and pitch) 的可能性相比, 我们开发了一个文本到语音描述器更方便用户使用, 因为文本描述是一种更自然的表达风格( 例如, “ 女士慢慢地向朋友低语” ) 。 鉴于没有TSTS 数据集, 以提示为基准, 并参照所提取的风格, 我们构建和发布一种快速的语音控制 数据, 以快速的模板 。