用双谱图引导扩散模型,实现文本生成带方向感的沉浸式音频。
DualSpec: Text-to-spatial-audio Generation via Dual-Spectrogram Guided Diffusion Model
- 通过双谱图(梅尔与STFT)联合建模,兼顾音质与方向精度
- 在真实场景下生成的音频方向误差小于10度,事件一致性高
- 适合虚拟现实、游戏等需要空间音频的场景
文本到音频(TTA)近年来受到广泛关注,但现有方法仅限于生成单声道音频。为提升听觉沉浸感,本文提出文本到空间音频(TTSA)生成框架DualSpec。首先,训练变分自编码器(VAEs)从声音事件音频中提取潜在声学表征;接着,利用预训练大语言模型的编码器将文本描述转化为文本特征;最后,基于潜在声学表征和文本特征训练扩散模型以生成空间音频。推理时仅需文本描述即可生成空间音频。为同时提升合成质量和方位准确率,引入两种声学特征:梅尔谱图优化音质,短时傅里叶变换谱图增强方位精度。构建了含文本提示的空间音频数据集用于训练,并设计新的空间感知评估指标量化生成音频的方位误差。实验表明,该方法可生成具有高方向一致性和事件一致性的空间音频。
原文摘要 · Abstract (English)
Text-to-audio (TTA), which generates audio signals from textual descriptions, has received huge attention in recent years. However, recent works focused on text to monaural audio only. As we know, spatial audio provides more immersive auditory experience than monaural audio, e.g. in virtual reality. To address this issue, we propose a text-to-spatial-audio (TTSA) generation framework named DualSpec. Specifically, it first trains variational autoencoders (VAEs) for extracting the latent acoustic representations from sound event audio. Then, given text that describes sound events and event directions, the proposed method uses the encoder of a pretrained large language model to transform the text into text features. Finally, it trains a diffusion model from the latent acoustic representations and text features for the spatial audio generation. In the inference stage, only the text description is needed to generate spatial audio. Particularly, to improve the synthesis quality and azimuth accuracy of the spatial sound events simultaneously, we propose to use two kinds of acoustic features. One is the Mel spectrograms which is good for improving the synthesis quality, and the other is the short-time Fourier transform spectrograms which is good at improving the azimuth accuracy. We provide a pipeline of constructing spatial audio dataset with text prompts, for the training of the VAEs and diffusion model. We also introduce new spatial-aware evaluation metrics to quantify the azimuth errors of the generated spatial audio recordings. Experimental results demonstrate that the proposed method can generate spatial audio with high directional and event consistency.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。