arXiv:2611.12375cs.SDNov 2026

Manuscript Offprint

arXiv:2611.12375

AudioCodex: Streaming Autoencoders for Live Audio

Marco Pasini, Javier Nistal, Cyran Aouameur, Stefan Lattner, George Fazekas

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

We introduce AudioCodex, a fully causal autoencoder for live generative audio applications that compresses stereo audio into compact continuous latent sequences at ~ 10 Hz. It combines a Mean Flow magnitude autoencoder with latent hypersphere projection, bounded-noise augmentation, representation alignment, and adversarial phase recovery to learn representations that support both efficient downstream generation and high-quality reconstruction. Through extensive ablations, we show that AudioCodex outperforms the state-of-the-art in terms of generation-reconstruction trade-off, whilst remaining strictly causal in both encoding and decoding. This work paves the way towards truly real-time interactive and streaming generative audio applications. Supplementary results and audio samples are available in the website.¹

1. INTRODUCTION

Compact, structured latent representations of audio are central to both generative modeling [1–3] and music information retrieval [4–6]. Downstream models operating in such spaces, rather than directly on waveforms, become substantially more efficient during training and inference.

In reconstruction-oriented applications, especially in generative modeling, autoencoders are the standard choice, typically learning deterministic mappings between audio signals and latent representations [7–10]. Yet existing audio autoencoders often expose a fundamental tension: representations that preserve detailed acoustic information can be difficult for generative models to learn [11–14], whereas highly regularized or compressed latents may improve generative modeling at the cost of reconstruction fidelity [15]. Stochastic generative decoders help relax this tension [2, 16, 17] by decoupling reconstruction and audio quality: the latent carries global structure, while the decoder plausibly synthesizes missing fine detail. The objective is therefore not exact sample reconstruction, but a representation that is both generative-friendly and perceptually high-quality after decoding [18].

Recently, real-time audio applications are gaining traction—e.g., conversational speech [19, 20], musical accompaniment [3, 21, 22], interactive synthesis [23–25]—requiring these systems to remain strictly causal. While existing work addresses causal audio autoencoding for speech, these methods typically produce discrete tokens rather than continuous latents [7, 8, 20, 26, 27], rendering them less suitable for certain generative modeling frameworks [28–32].

We introduce AudioCodex, a fully causal and continuous audio autoencoder designed for real-time generative use. The model is trained as a generative autoencoder on log-magnitude spectrograms, with a separate adversarial phase estimator for waveform recovery. This decoupling facilitates high-quality reconstruction by removing the noisy phase components from the autoencoder training process. The magnitude decoder is trained as a Mean Flow model [33], enabling single-step decoding and stable training compared to other one-step frameworks [34]. To the best of our knowledge, this is the first Mean Flow-based autoencoder in any modality.

Our contributions are fivefold: (1) a fully causal autoencoder for general high sample rate stereo audio, designed for streaming to and from ~ 10 Hz compressed representations; (2) a magnitude-only formulation with separate adversarial phase estimation, trained without direct reconstruction objectives; (3) a sphere-normalized bottleneck with bounded latent noise augmentation [15, 35–37]; (4) Representation Alignment (REPA) [38] with a frozen self-supervised audio encoder [39]; and (5) a comprehensive analysis of the reconstruction-generation trade-off using both reconstruction and downstream-generative metrics.

References (73)