# PEACE: Joint Embeddings of DSP Effects Code and Audio

arXiv: https://arxiv.org/abs/2610.03405 · HTML: https://mlsanity.com/paper/2610.03405/

## Key facts

- Cited by 1 papers in the map (data through 26 Nov 2026).
- Submitted 2 Oct 2026, announced 5 Oct 2026.

## Built on by (most cited first, 1 of 1)

- [TAPE: Learning General Audio Effect Representations](https://mlsanity.com/paper/2610.40759/) (2026)

## Abstract (arXiv)

This paper introduces PEACE, the first joint embedding of audio effect code and output audio. Building on SLAP's multimodal objective, we pair an AFx-Rep audio encoder with two code encoders for Faust, a functional language for audio signal processing. First, we evaluate a fine-tuned T5 transformer over Faust source code. Second, we evaluate a message-passing graph neural network over an intermediate representation of the Faust compiler, capturing both topology and UI parameters. We evaluate on audio-to-code retrieval, where masking UI parameters at inference yields embeddings that encode effect chain topology alone. When parameters are visible, the two code encoders tie on retrieval of mixed-length chains but have tradeoffs on single-effect galleries. With parameters fully masked, PEACE recovers ordered chain topology far above chance without the limitations of supervised methods. PEACE outperforms pretrained models on an out-of-distribution reverb retrieval benchmark and can improve frozen audio-only representations. Its dual understanding of topology and parameters lays the groundwork for music information retrieval systems that search, generate, and condition on DSP code.
