AnyAudio

Accurate, Versatile, and Training-Free Audio Control via Steering Generation

Anonymous Authors
Anonymous Institution
TL;DR: A holistic, training-free framework that steers a pre-trained audio diffusion transformer toward precise timing, coherent long-form, and fine-grained acoustic control under a unified gradient-based paradigm.
Overview of AnyAudio
Figure 1. Overview of AnyAudio. The gradients from all modules are back-propagated to update zt, supporting timing, long-form, and reference attribute control under a unified paradigm.

Abstract

Text-to-audio generation systems have been capable of generating high-fidelity samples from natural language prompts with a scalable diffusion transformer (DiT). Recent advances have further allowed fine-grained controllability, which mainly spans precise timing control, long-form audio generation, as well as acoustic control (e.g., pitch and loudness). However, existing methods usually leverage conditional learning, either from scratch or fine-tuning, or training-freely explore latent manipulation, both of which hinder them to achieve versatile audio control efficiently.

In this work, we present a holistic audio control framework, AnyAudio, which precisely steers the sampling trajectory to desired target, fully exploiting the advantages of pre-trained audio DiT. Specifically, we first design Timing Attention Control in the condition space, aligning each sound event with their designated time intervals for precise event timing. Furthermore, we present Latent Spectral Decoupling in the diffusion intermediate representation space, fusing overlapping segments in the frequency domain for coherent long-form generation. Then, we develop Reference Attribute Control in waveform space, matching differentiable reference attributes for fine-grained physical control.

These cross-space control signals share a unified paradigm of differentiable matching loss optimized via gradient descent, which can be integrated into a diffusion sampling trajectory in an accurate, composable, and training-free manner. Extensive experiments demonstrate that AnyAudio achieves state-of-the-art performance in control of timing, long-form generation, and acoustic characteristics, independently and jointly, without training resource.

Key Contributions

1

Timing Attention Control. Operates in the condition space to align each sound event with its designated time interval, delivering precise event-level timing control.

2

Latent Spectral Decoupling. Fuses overlapping segments in the frequency domain at the diffusion intermediate representation, enabling coherent long-form generation.

3

Reference Attribute Control. Matches differentiable reference attributes in waveform space for fine-grained physical control over pitch, loudness, and beyond.

4

Unified, training-free paradigm. All controls share a differentiable matching loss optimized via gradient descent, integrated into the diffusion sampling trajectory in an accurate, composable, and training-free way.

Demos

Mel-spectrograms and audio samples generated by AnyAudio against ground truth and prior baselines.

1. Timing-Controlled Audio Generation

Each sound event is aligned to its designated time interval. Compared with baselines, AnyAudio places events on the timeline more precisely.

Prompt: A man speaks while motor vehicles pass by.

Timing condition (10.0s)
Male speech, man speaking
Motor vehicle (road)
0.0s2.5s5.0s7.5s10.0s
a man speaks: [0.000, 6.150], [6.945, 7.512], [8.874, 9.181] · motor vehicles pass by: [0.000, 10.000]
AnyAudio (Ours) AudioLDM Stable Audio Open TangoFlux AudioComposer-S T2A-Adapter Ground Truth
Mel Ours mel AudioLDM mel Stable Audio Open mel TangoFlux mel AudioComposer-S mel T2A-Adapter mel GT mel
Audio

Prompt: Coins drop and a man speaks before a dog barks.

Timing condition (10.0s)
Coin (dropping)
Male speech, man speaking
Dog
0.0s2.5s5.0s7.5s10.0s
Coins drop: [0.008, 1.197], [1.591, 2.016], [2.803, 3.693], [4.008, 5.606] · A man speaks: [6.913, 7.409] · A dog barks: [8.803, 9.417]
AnyAudio (Ours) AudioLDM Stable Audio Open TangoFlux AudioComposer-S T2A-Adapter Ground Truth
Mel Ours mel AudioLDM mel Stable Audio Open mel TangoFlux mel AudioComposer-S mel T2A-Adapter mel GT mel
Audio

Prompt: A police car's siren and an alarm sound.

Timing condition (10.0s)
Police car (siren)
Alarm
0.0s2.5s5.0s7.5s10.0s
A police car's siren: [0.000, 10.000] · an alarm sound: [3.764, 5.378]
AnyAudio (Ours) AudioLDM Stable Audio Open TangoFlux AudioComposer-S T2A-Adapter Ground Truth
Mel Ours mel AudioLDM mel Stable Audio Open mel TangoFlux mel AudioComposer-S mel T2A-Adapter mel GT mel
Audio

Prompt: A bathtub is being filled or washed.

Timing condition (10.0s)
Bathtub (filling or washing)
0.0s2.5s5.0s7.5s10.0s
A bathtub is being filled or washed: [0.000, 6.598], [6.748, 10.000]
AnyAudio (Ours) AudioLDM Stable Audio Open TangoFlux AudioComposer-S T2A-Adapter Ground Truth
Mel Ours mel AudioLDM mel Stable Audio Open mel TangoFlux mel AudioComposer-S mel T2A-Adapter mel GT mel
Audio

2. Long-Form Audio Generation

Generation beyond the model's native window via Latent Spectral Decoupling. Outputs remain coherent without seams between segments.

Prompt: Rain falling and wind blowing hard with rustling leaves.

AnyAudio (Ours) AudioLDM 2 AudioGen Stable Audio Open SaFa Ground Truth
Mel Ours mel AudioLDM 2 mel AudioGen mel Stable Audio Open mel SaFa mel GT mel
Audio

Prompt: As music plays in the foreground, faint machine gunfire occurs in the background.

AnyAudio (Ours) AudioLDM 2 AudioGen Stable Audio Open SaFa Ground Truth
Mel Ours mel AudioLDM 2 mel AudioGen mel Stable Audio Open mel SaFa mel GT mel
Audio

Prompt: A male vocalist sings this energetic Punjabi folk song. The tempo is medium fast with an infectious tabla and Dhol percussive beat, ektara rhythm and a funky keyboard accompaniment. The song is lively, spirited, cheerful, simple, happy, playful, enthusiastic, vivacious with a festive, celebratory vibe and dance groove. This song is a Festive Punjabi Folk song.

AnyAudio (Ours) AudioLDM 2 MusicGen Stable Audio Open SaFa Ground Truth
Mel Ours mel AudioLDM 2 mel MusicGen mel Stable Audio Open mel SaFa mel GT mel
Audio

Prompt: The Latin Jazz song features an exotic, jazzy piano melody, plucked double bass, subtle hi hats and percussive wooden elements playing as the passionate female vocalist is singing. It sounds like it was recorded with stereo room microphones, since the vocal sounds a bit “roomy”.

AnyAudio (Ours) AudioLDM 2 MusicGen Stable Audio Open SaFa Ground Truth
Mel Ours mel AudioLDM 2 mel MusicGen mel Stable Audio Open mel SaFa mel GT mel
Audio

3. Reference Audio Generation

Fine-grained attribute control via differentiable matching against a reference clip. In the mel-spectrograms, the red curve denotes pitch and the blue curve denotes loudness.

Prompt: A woman speaks repeatedly followed by beeping sounds.

AnyAudio (Ours) AudioLDM Tango AudioComposer-S T2A-Adapter Ground Truth
Mel Ours mel AudioLDM mel Tango mel AudioComposer-S mel T2A-Adapter mel GT mel
Audio

Prompt: Men sing and speak to music.

AnyAudio (Ours) AudioLDM Tango AudioComposer-S T2A-Adapter Ground Truth
Mel Ours mel AudioLDM mel Tango mel AudioComposer-S mel T2A-Adapter mel GT mel
Audio

Prompt: Humans walk and speak while various sounds are heard in the background such as wind and field recordings.

AnyAudio (Ours) AudioLDM Tango AudioComposer-S T2A-Adapter Ground Truth
Mel Ours mel AudioLDM mel Tango mel AudioComposer-S mel T2A-Adapter mel GT mel
Audio

Prompt: A woman is speaking, with music and bird vocalization in the background.

AnyAudio (Ours) AudioLDM Tango AudioComposer-S T2A-Adapter Ground Truth
Mel Ours mel AudioLDM mel Tango mel AudioComposer-S mel T2A-Adapter mel GT mel
Audio

4. Holistic Audio Generation

All three controls jointly applied in a single sampling trajectory. Demonstrates that timing, long-form, and reference attribute control compose without retraining.

Prompt: A woman is speaking, humming, and babbling with music playing in the background.

Timing condition (26.0s)
Music
Hum
Babbling
Female speech
0.0s6.5s13.0s19.5s26.0s
music: [0.000, 26.000] · hum: [0.000, 6.000] · babbling: [6.000, 16.000] · female speech: [16.000, 26.000]
AnyAudio (Ours)
Reference Reference
Mel Ours mel
Audio

Prompt: A sink is filled with water and music plays.

Timing condition (26.0s)
Music
Sink (filling or washing)
0.0s6.5s13.0s19.5s26.0s
music: [0.000, 26.000] · sink (filling or washing): [0.000, 26.000]
AnyAudio (Ours)
Reference Reference
Mel Ours mel
Audio

Prompt: Men and women are speaking and honking horns in a busy, noisy setting.

Timing condition (26.0s)
A busy, noisy setting
Men and women are speaking
Honking horns
0.0s6.5s13.0s19.5s26.0s
a busy, noisy setting: [0.000, 26.000] · men and women are speaking: [0.000, 26.000] · vehicle horn: [16.000, 17.000]
AnyAudio (Ours)
Reference Reference
Mel Ours mel
Audio