cs.SDOct 2, 2026

PEACE: Joint Embeddings of DSP Effects Code and Audio

Authors: David Braun, Adam Finkelstein

Organizations: Princeton University

Abstract

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.

Figures & tables

Explore similar work

CardsList
  1. TimberAgent: Gram-Guided Retrieval for Executable Music Effect Control

    Mar 10, 2026Shihao He, Yihan Xia, Fang Liu +2Music Information RetrievalAudio Representation Learning

  2. PHALAR: Phasors for Learned Musical Audio Representations

    May 5, 2026Davide Marincione, Michele Mancusi, Giorgio Strano +4Audio Representation LearningRepresentation Learning

  3. DashengTokenizer: One layer is enough for unified audio understanding and generation

    Feb 27, 2026Heinrich Dinkel, Xingwei Sun, Gang Li +8Audio TokenizationAudio Representation Learning