Audio Texture Manipulation by Exemplar-Based Analogy
Kan Jen Cheng, Tingle Li, Gopala Anumanchipalli
TL;DR
The paper addresses the challenge of editing audio textures when natural language prompts are ambiguous by introducing exemplar-based analogy, where an input is transformed according to a demonstrated before/after exemplar pair. It wires a latent diffusion model conditioned on exemplar embeddings, operating in a VAE-compressed mel-spectrogram space and reconstructed via a HiFi-GAN vocoder, with learnable temporal encoding and cross-attention to guide transformations. A self-supervised quadruplet dataset combines LibriSpeech/VCTK with BBC SFX to learn add/remove/replace transformations without labeled edits, achieving competitive or better results than text-conditioned baselines and generalizing to real-world and non-speech data. This exemplar-driven framework offers a flexible, intuitive approach for audio editing with potential applicability beyond speech to broader sound textures and real-world audio manipulation.
Abstract
Audio texture manipulation involves modifying the perceptual characteristics of a sound to achieve specific transformations, such as adding, removing, or replacing auditory elements. In this paper, we propose an exemplar-based analogy model for audio texture manipulation. Instead of conditioning on text-based instructions, our method uses paired speech examples, where one clip represents the original sound and another illustrates the desired transformation. The model learns to apply the same transformation to new input, allowing for the manipulation of sound textures. We construct a quadruplet dataset representing various editing tasks, and train a latent diffusion model in a self-supervised manner. We show through quantitative evaluations and perceptual studies that our model outperforms text-conditioned baselines and generalizes to real-world, out-of-distribution, and non-speech scenarios. Project page: https://berkeley-speech-group.github.io/audio-texture-analogy/
