Manuscript Offprint
arXiv:2610.40759TAPE: Learning General Audio Effect Representations
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Phillip Long²*, Yongyi Zang¹*, Qihui Yang¹, Christodoulos Benetatos¹, Junfei Liu¹, Randal Leistikow¹, Julian McAuley², Perry R. Cook¹
¹Smule Labs ²University of California, San Diego
*These authors contributed equally.
Musicians and mixing engineers often can decipher the signal processing chain they hear on a reference recording, then adapt it to new material. We present TAPE (Transformations of Audio Parameter Embeddings), which estimates this processing from the processed reference audio alone. An encoder trained to identify processors in eight major effect families maps the reference to an embedding. A differentiable digital signal processing (DSP) chain decodes the embedding into editable parameters in one forward pass and applies them to a different unprocessed recording. Its modules are equalization, compression, waveshaping, a small residual network, and reverberation. TAPE then drives this change to shape the signal processing chain. TAPE achieves lower spectral error than DeepAFx-ST, the previous state of the art for single-step regression, and lower spectral error than per-example search over a chain approximating ST-ITO's, while running 275× faster than that search. Because the decoder outputs DSP parameters, its chain can also run causally: a C++ implementation with the trained weights processed 128-sample buffers 1.8× faster than real time, with no missed deadlines.
smule LABS
1 Introduction
Engineers and musicians shape the timbre, dynamics, and space of a recording with audio effects such as equalization, compression, and reverberation (Zölzer, 2002; Wilmering et al., 2020). They also copy a treatment they have heard, such as the compression on a vocal, onto new material. We aim to estimate that treatment from the processed reference alone. The model should expose controls that a person knows how to use and run at the buffer sizes a performer plays through. This is hard because professional processors are heterogeneous, their internals are rarely documented, and we observe them only through the audio they produce.
Most neural models of audio effects emulate one device or one effect type, in some cases so closely that listeners cannot tell the model from the device (Wright et al., 2020). Style-transfer systems instead extract an embedding from a processed reference and use it to drive a renderer. DeepAFx-ST (Steinmetz et al., 2022) predicts the controls of a differentiable equalizer and compressor in one forward pass, and DeepAFx-ST+ (Steinmetz et al., 2024) adds reverberation and distortion. ST-ITO (Steinmetz et al., 2024) covers many effect families by search. For each reference, a gradient-free optimizer tunes a plugin chain until its output matches the reference in a learned effect embedding, rendering up to 1,600 candidates per example. In these systems, one-pass prediction gives readable controls for a few processors, and ST-ITO needs a search for each example to cover many families. Concurrent systems that predict whole chains are discussed in Section 2.
Our model, TAPE (Transformations of Audio Parameter Embeddings), represents audio-effect transformations in an embedding space. An encoder maps a processed (wet) reference to an embedding , and a decoder applies the treatment that describes to a new unprocessed (dry) recording (Figure 1). We train to identify 68 processors across speech, music stems, and instrument recordings, with the plugin as its only label. We then train on pairs of recordings that share only the plugin, with , so that cross-content reconstruction tests what captured.
The decoder is a factorized chain of differentiable DSP modules for equalization, compression, waveshaping, residual

Figure 1 Overview of TAPE. The encoder maps a processed reference wet to an embedding , and small heads map to the controls and gates of a five-module DSP chain that processes a different recording dry. In training (dashed), the same plugin configuration renders and , and the output is compared with wet. Information about the source of in cannot help reconstruct , but no loss removes it from .
color, and reverberation. Each module reads its parameters from through a small head, and the decoder outputs filter gains, compressor thresholds, reverberation times, and module gates that a person can inspect and edit. A new reference needs one forward pass and no per-example search. The modules also have causal approximations, which let the trained chain be streamed. However, TAPE drives only its own chain, which approximates the 68 processors and has no modulation stage, and it cannot control plugins a user already owns.
Our contributions are as follows.
-
We train an effect encoder on 68 processors in eight families. Without family labels, its embeddings of the same family lie near one another in a t-SNE projection (Section 4).
-
We build a factorized differentiable DSP decoder that maps the embedding to the editable controls of a five-module chain (Section 5). After adversarial fine-tuning, every listener rated its transfer above that of its reconstruction-only counterpart, on two disjoint sets of pairs (Section 7.1).
-
We compare TAPE with the released DeepAFx-ST models and with per-example search over ST-ITO's basic chain. TAPE had lower spectral error than either. On most pairs the search ended closer than TAPE to the reference in an effect embedding, but farther from the paired target (Section 7.2).
-
We adapt the trained chain to causal processing in C++. In simulated host callbacks on one CPU core, it streamed 128-sample buffers faster than real time (Section 7.3).
Effect identification and parameter estimation. Classifiers that name the effect on a recording, or regress its settings, have been studied for guitar and studio effects (Stein et al., 2010; Comunità et al., 2021; Hinrichs et al., 2022). Other work estimates the parameters of known processors from audio. Examples include equalizer settings that transfer the frequency balance of an unpaired reference (Mimilakis et al., 2020), the mixing parameters of a multitrack recording (Colonel and Reiss, 2021), and effect parameters learned by an autoencoder through differentiable effects (Peladeau and Peeters, 2024). Other systems recover the graph of processors behind a signal (Lee et al., 2023) or an effect chain together with the dry signal (Take et al., 2024). Hinrichs et al. (2024) recover an approximate dry guitar signal and use it to train a neural copy of the reference effect. RemFX (Rice et al., 2023) removes several effect classes by chaining removal models selected by a classifier.
Effect and style representations. DeepAFx-ST (Steinmetz et al., 2022) encodes an input recording and a style reference with a shared encoder and predicts the parameters of a differentiable equalizer and compressor in one forward pass. The model is trained without effect labels, and its embedding is evaluated with linear probes. Contrastive encoders represent mixing effects in full mixes, rendered onto new content by a black-box network (Koo et al., 2023), and in individual instruments within mixtures (Yeh et al., 2025). Diff-MST (Vanka et al., 2024) predicts the controls of a differentiable mixing console from a reference mix. Chen et al. (2024) condition a black-box amplifier generator on a contrastive tone embedding, including for amplifiers unseen in training. ST-ITO (Steinmetz et al., 2024) is the closest prior work. Its encoder, AFx-Rep, is pretrained on recordings from seven public datasets to predict which of 63 VST3 plugins and which preset turned an input into an output, from the embeddings of both. ST-ITO then uses AFx-Rep as the objective of a CMA-ES search over the parameters of a user-supplied plugin chain, which may include non-differentiable plugins and plugins unseen in training. A Gaussian prior over vocal-effect parameters fitted with DiffVox (Yu et al., 2025a) improves this search for vocals (Yu et al., 2025b). Our encoder, by contrast, sees only the processed signal, with plugin identity as its label, and our decoder predicts the controls directly, without search.
Concurrent work. LLM2Fx-Tools (Doh et al., 2026) has a language model emit an executable effect chain from a dry/wet pair through tool calls. StemFX (Cheng et al., 2026) autoregressively predicts a variable effect chain for each source-separated stem. RelFx (Liu et al., 2026) learns a relative effect representation without a dry reference and transfers style by gradient search on a differentiable chain. PEACE (Braun and Finkelstein, 2026) embeds Faust effect code and processed audio jointly to retrieve effect programs. We do not compare with these systems.
Differentiable signal processing and language. DDSP (Engel et al., 2020) trains classical oscillators and filters against reconstruction objectives while keeping controls a person can read. Applications include differentiable IIR filters and equalizer matching (Kuznetsov et al., 2020; Nercessian, 2020) and automatic mixing with neural effect proxies (Steinmetz et al., 2021). Other work trains through non-differentiable plugins (Martínez Ramírez et al., 2021) or models the distribution of vocal effect settings (Yu et al., 2025a). Hayes et al. (2024) review differentiable DSP for music and speech synthesis. Contrastive image–text and audio–text models align signals with language (Radford et al., 2021; Huang et al., 2022; Wu et al., 2023). Text2FX (Chu et al., 2025) optimizes effect parameters toward a text description in CLAP space, and LLM2Fx (Doh et al., 2025) prompts a language model to predict effect parameters from a description.
3 Formulation
Let dry be an unprocessed recording and a plugin configuration. The plugin produces
and we observe only pairs (dry, wet) and the identity of the plugin, never itself. An encoder maps a wet clip to , with , and a decoder reconstructs the same treatment on a different dry recording,
where and share but not waveform content (Figure 1). The decoder thus applies the processing estimated from one recording to another. The encoder is trained to name the plugin on different kinds of content (Section 4), and the decoder is then trained with frozen on pairs that share only . Neither objective enforces source invariance.
We constrain to a composition of differentiable DSP modules whose parameters are predicted from ,
(3) with : equalization, compression, waveshaping, residual color, and reverberation. Each is a small multi-layer map to the actuators, or DSP parameters, of module . No module has a learned autoregressive loop, which makes a causal adaptation with a small per-buffer cost possible (Section 7.3). Plugin classification first shapes the embedding space (Section 4), the decoder is then fitted to the frozen encoder (Section 5), and an adversarial stage fine-tunes the system toward perceptual similarity (Section 5.1). All audio is 48 kHz mono, loudness-normalized to LUFS before processing, and analyzed in five-second windows.
4 Learning the representation
A log-mel front end at 48 kHz (80 bands up to the Nyquist frequency) feeds a Conformer (Gulati et al., 2020), and a learned query token pools its output into (Appendix I). We train with additive-margin softmax (Wang et al., 2018) over the 68 plugin identities, and the variance and covariance terms of VICReg (Bardes et al., 2022) keep the tight margins from collapsing or correlating the dimensions of . AFx-Rep (Steinmetz et al., 2024) is trained on a related task, but it also sees the unprocessed input and predicts the preset. Plugin identity names neither the preset nor the dry source. We chose this coarse label so that the encoder separates processors and leaves finer distinctions, such as settings, for the decoder to read from . The encoder is then frozen while the decoder is fitted, and the analyses below use it at that point.
Family structure. Figure 2 projects held-out embeddings with t-SNE. Processors of the same family form neighborhoods, although no loss named or grouped the families. Since t-SNE preserves local neighborhoods but distorts global distances, the figure is evidence only that processors of the same family lie near each other in .

Figure 2 t-SNE of held-out embeddings (), colored by effect family. The single miscellaneous plugin is not plotted.
Plugin classification. The eight-layer encoder used in every decoding experiment reaches 72.5% top-1 plugin accuracy on held-out wet clips, while a six-layer encoder reaches 78.7% and deeper stacks and finer labels reduce accuracy (Appendix A). With plugin-level supervision, configuration accuracy is near zero (Table 4). Our reconstruction results do not show how much preset information the decoder obtains from .
5 A factorized, readable decoder
We build from DSP modules whose controls are physical quantities, such as filter gains and decay times, that a person can read and change. A black-box generator conditioned on would expose no such controls, and it could hide whether the embedding captured the effect or the generator memorized a mapping. Each module relaxes a classical operator so that it can be trained by gradient descent. Appendix B gives the operators in full and plots their responses.
Reading parameters from . A small head maps to normalized actuators ,
where also passes through a sigmoid. The gate blends each prediction toward the midpoint of its range, which stabilizes early training, and each is then mapped to a physical range (Table 13). A module gate , a sigmoid of a small network on , blends each stage with its input, , and bypasses the stage. In the later training stages, a weak penalty pulls the gates toward a binary pattern for each plugin category.

Figure 3 Controls predicted from z for three held-out embeddings (EQ Plugin, Compressor, Reverb). (a) Five-band EQ magnitude response. (b) Module gates (distortion is the waveshaper, NN the residual). (c) RT60 per band.
Equalization. Five peaking bands use the biquad response of Bristow-Johnson (2021), with gain, center frequency, and Q predicted from z. We apply the cascade as one multiplication on the FFT grid. This approximates the IIR cascade by a circular convolution and avoids backpropagating through a long recurrence.
Compression. The hard knee of a feed-forward compressor (Giannoulis et al., 2012) gives a predicted threshold no gradient while the compressor is not engaged. We replace it with a softplus,
where is a causal 10 ms RMS level in decibels, r the ratio, and T the threshold. The softplus matches the hard knee a few decibels from the threshold and stays differentiable in T on both sides. The gain is smoothed by one-pole attack and release filters, computed with prefix log-sums so that the recurrence can be differentiated.
Waveshaping. Choosing a waveshaping curve (Le Brun, 1979; Roads, 1979) is a discrete decision. We run five classical curves in parallel (tanh saturation, hard clip, asymmetric tube, diode, and sine wavefolder) and mix them,
where is the predicted drive and a predicted asymmetry offset. The logits are head outputs of Equation 4, so no curve receives more than of the weight. A first-order tone filter and a makeup gain follow.
Residual color. The parametric stages cannot represent every coloration. We append a causal temporal convolutional network (Bai et al., 2018) with FiLM conditioning on z (Perez et al., 2018), trained after the parametric stages have converged. The network has four dilated blocks with 32 channels and kernel size 13, a receptive field of 181 samples (3.8 ms), and a module gate that can switch it off. Among 23 residual architectures it ranked first on SI-SDR, with a grouped SRU and an S4D hybrid within 0.1 dB (Appendix C). These differences are small next to the spread across pairs. The comparison supports a small causal network but cannot rank block families.
Reverberation. Because feedback reverberators are hard to differentiate over tails that last seconds (Välimäki et al., 2012), we synthesize the impulse response in closed form. Band-filtered noise in six bands decays at a predicted reverberation time (RT60) per band, a broadband envelope damps the tail, and sparse early reflections and a direct impulse are added. The three-second impulse is applied by FFT convolution. A small ConvNeXt network conditioned on z refines the STFT of this impulse, and the evaluated decoder blends the two through a learned weight.
Reading the controls. Figure 3 shows the EQ curve, module gates, and RT60 profile that the trained decoder predicts for three held-out embeddings. Each of the equalizer, compressor, and reverb gates is highest for its matching embedding. The gates are graded: the equalizer, compressor, and distortion gates are partly open (0.29 to 0.94) for all three embeddings, and the residual gate is nearly closed. The reverb gate is 0.14 for the reverb embedding and 0.06 to 0.08 for the others. Only the reverb embedding's RT60 rises above the floor of about 50 ms, to 0.07–0.12 s.
5.1 Training the decoder
The modules interact. An equalizer boost that a compressor later tames produces conflicting gradients if each head is trained against reconstruction alone. We compared three curricula on the same frozen : heads trained separately, heads pretrained separately and then trained jointly, and heads trained jointly from scratch (Appendix D). Joint training from scratch had the lowest spectral error. However, listeners gave the two-stage curriculum the highest mean score (Study 2). The decoder evaluated below starts from the joint-scratch checkpoint. We have not tested the two-stage checkpoint as a starting point.
Adversarial fine-tuning. After the heads and the residual converge, we fine-tune adversarially with feature matching (Kong et al., 2020), using critics that see multi-period waveforms, multi-resolution STFT magnitudes, frequency sub-bands, and multi-scale constant-Q transforms. From the same checkpoint we trained two variants that differ only in the adversarial loss: a relativistic loss as in R3GAN (Huang et al., 2024) and a least-squares loss (Mao et al., 2017), both with R1 and R2 gradient penalties. Each experiment below reports results from one such fine-tuned checkpoint, noted where it differs across experiments. This stage updates all parameters, the encoder included, at a learning rate of . The decoding experiments use the encoder of the fine-tuned checkpoint, which may differ from the one analyzed in Section 4. Before-and-after comparisons measure the whole stage, which also adds feature matching and continues training.
6 Experimental setup
Data. Training draws five-second wet/dry pairs from nearly two million mono renders of about 300 source recordings through randomized configurations of 68 plugins: 19 dynamics processors, 14 equalizers, 9 modulation effects, 9 preamplifiers, 8 reverberators, 5 analog-tape emulations, 3 saturation or distortion units, and 1 multi-tool (Appendix H). Sources come from MUSDB18 (Rafii et al., 2017), GuitarSet (Xi et al., 2018), Carnatic Varnam (Koduri et al., 2014), Bach Violin (Dong et al., 2022), LibriSpeech (Panayotov et al., 2015), and synthetic test signals. The encoder has to recognize a processor on speech, guitar stems, and instrument recordings that share nothing except the plugin. Here “dry” means unprocessed by our plugins, since some sources, such as MUSDB18 stems, are already produced. Sources are resampled to 48 kHz and loudness-normalized, and each pair is a five-second window that starts at least one second into the render. Tracks are split 80/10/10 into training, validation, and test sets by a hash of the track identifier, while plugin configurations are shared across splits. For MUSDB18 the identifier names a stem, and stems of one song can fall into different splits. The saved evaluation outputs do not record track identifiers. The evaluation pairs are therefore held out only in the sense of this nominal split. An effect-score heuristic redraws presets whose wet signal is close to the dry input (Appendix G).
Metrics. Our main metric is multi-resolution STFT L1 (Steinmetz and Reiss, 2020), the mean absolute difference between natural-log STFT magnitudes over FFT sizes 512, 1024, and 2048 (Hann window, hop of a quarter frame). We also report time-domain L1, SI-SDR (Le Roux et al., 2019), log-spectral distance, and a CLAP distance, between the CLAP audio embeddings (Wu et al., 2023) (HTSAT, unfused checkpoint) of output and target. These metrics rank systems differently from one another and from listeners, especially on reverberation and subtle color. We treat listening as the primary test.
Listening tests. Four multi-stimulus panels in the MUSHRA format (ITU-R, 2015; Schoeffler et al., 2018), each with 20 trials, ran in one headphone session with overlapping listeners, who rated the similarity of each stimulus to a reference from 0 to 100, with a hidden reference. Without the standard low-pass anchors, we read the scores as within-trial similarity ratings and treat the unprocessed input, where it appears, as a control condition. Stimuli were 192 kb/s MP3, and one gain per trial placed the loudest peak at dBFS. Study 1 compares the adversarially fine-tuned decoder with its reconstruction-only counterpart and with unprocessed audio, and Study 3 repeats the first contrast on disjoint pairs. Both use cross-content held-out pairs. Study 2 compares the three curricula and Study 4 the two reverberation impulses, on same-content validation clips (Appendices D and E). After we dropped one listener who failed the reference check, Studies 1–4 had eight, six, seven, and nine listeners. The audio is on the project page.¹
¹https://pnlong.github.io/audio-effect-transfer/
Table 1 Listening results for cross-content transfer (similarity to the reference, 0–100). Means and SDs are over all ratings, and 95% CIs are bootstrap intervals over per-listener means. Scores are for the least-squares variant. Study 1 includes the unprocessed input as a control; Study 3 repeats the main contrast on new pairs.
| Condition | Study 1 (N = 8) | Study 3 (N = 7) | |||
|---|---|---|---|---|---|
| Mean | SD | 95% CI | Mean | SD | |
| Adversarially fine-tuned | 72.5 | 23.0 | [66.3, 78.5] | 72.4 | 27.3 |
| Unprocessed | 47.6 | 27.0 | [38.8, 56.4] | - | - |
| Reconstruction only | 41.3 | 25.0 | [33.0, 50.0] | 38.4 | 24.6 |
7 Experiments
7.1 Cross-content transfer
We extract from track and ask the decoder (R3GAN variant) to reproduce the treatment on track . The 60 held-out pairs were drawn with a fixed seed from test-split tracks, and each contains two tracks rendered through the same configuration. The adversarial stage lowered the mean STFT L1 from 2.071 to 1.120, time-domain L1 from 0.200 to 0.075, and CLAP distance from 0.464 to 0.220, and it raised SI-SDR from -29.38 to -16.80 dB. Among families with at least six pairs, dynamics had the lowest STFT L1 (0.927) and equalization the highest (1.299), and chains of several processors were close to the mean (1.176; Appendix F).
In Study 1, every listener’s mean score was higher for the fine-tuned decoder than for the reconstruction-only decoder and for unprocessed audio (Table 1). Both contrasts gave in exact two-sided Wilcoxon signed-rank tests on per-listener means, or 0.0156 after Holm correction. Study 3 repeated the first contrast on disjoint pairs, in the same session and with an overlapping panel, and the gain held for every listener (). Listeners rated the reconstruction-only decoder below the unprocessed input, although on the 60 pairs above its STFT L1 (2.071) was lower than the input’s (2.335). Since these tests treat listeners as the unit and do not resample stimuli, they do not account for item variation.
7.2 Comparison with per-example search and with DeepAFx-ST
Per-example search in the manner of ST-ITO (Steinmetz et al., 2024) matches the reference in an effect embedding. We test whether it brings outputs closer to the target than one forward pass of TAPE. We also run the released DeepAFx-ST models (Steinmetz et al., 2022) on the same 60 pairs. Every method sees only wet and dry. The withheld wet is used only for scoring, except by one oracle.
Search. ST-ITO’s main chain consists of five third-party VST3 plugins that are not distributed with its public code. Our search instead controls the basic chain of ST-ITO’s public code: an equalizer, a compressor, a distortion, a delay, and a reverberator. These are the same five effect types as the pedalboard chain of the original paper. CMA-ES minimizes the cosine distance to wet, either in AFx-Rep or in our encoder , and random search with the AFx-Rep objective serves as a control. The full setting follows ST-ITO’s public evaluation script, with 32 generations of 128 candidates () started at the midpoint of every range, for 4,097 renders per example with early stopping disabled. This exceeds the budget described in the ST-ITO paper, a population of 64 for at most 25 steps (1,600 renders) with early stopping. A reduced setting with 128 renders also differs in population, step size, initialization, and padding. The two settings thus do not form a budget ablation (Appendix K). TAPE, then chain search applies the same search to the chain placed after TAPE’s output, and keeps TAPE’s output if no candidate improves the objective. We also report STFT L1 after peak-normalizing output and target. The chain’s input and output are peak-normalized as in ST-ITO, while TAPE preserves level. The comparison does not rank TAPE and ST-ITO. Besides differing from ST-ITO’s VST chain, the basic chain differs from TAPE’s: it has a delay and no residual. ST-ITO was also designed for style transfer judged by listeners.
DeepAFx-ST. We ran the two released models, trained on speech and on music, with their official recipe. Input and reference are resampled to 24 kHz and peak-normalized to -12 dBFS, and the output is peak-normalized and resampled to 48 kHz. Since a full-band error heavily penalizes an output with no content above 12 kHz, we also
Table 2 Search at the full setting and the released DeepAFx-ST models (60 held-out pairs, means over pairs). STFT L1 is measured against the withheld wet at 48 kHz. Peak normalizes output and target to unit peak at 48 kHz, and Peak, 24 kHz first resamples both to 24 kHz and then normalizes each to unit peak. AFx is the cosine distance to wet in AFx-Rep (not computed for DeepAFx-ST or with TF32 disabled). Wins counts pairs on which a method has a lower STFT L1 (48 kHz, unnormalized) than TAPE. Renders count evaluations of a chain per example; the corrective searches add TAPE's pass and skip the final render when they keep TAPE's output. Time is the median wall-clock seconds per five-second clip. †Controls predicted at 24 kHz, rendered on the 48 kHz input. Appendix K gives the reduced setting and searches in TAPE's own space.
| Method | Objective | Renders | Time | STFT L1 | Peak | Peak, 24 kHz | AFx | Wins |
|---|---|---|---|---|---|---|---|---|
| Unprocessed dry | - | 0 | - | 2.335 | 1.808 | 1.724 | 0.894 | 5 |
| TAPE, one pass | - | 1 | 0.52 | 1.120 | 1.391 | 1.310 | 0.660 | - |
| TAPE, one pass, TF32 disabled | - | 1 | 0.53 | 1.177 | 1.448 | 1.323 | - | - |
| Search over ST-ITO's basic chain, full setting | ||||||||
| ST-ITO search | AFx-Rep | 4,097 | 143 | 2.906 | 2.317 | 2.150 | 0.259 | 2 |
| ST-ITO search | f | 4,097 | 205 | 2.498 | 1.703 | 1.580 | 0.652 | 5 |
| Random search | AFx-Rep | 4,097 | 142 | 2.936 | 2.175 | 2.005 | 0.373 | 2 |
| TAPE, then chain search | AFx-Rep | 4,098 | 144 | 2.701 | 2.154 | 2.079 | 0.250 | 4 |
| TAPE, then chain search | f | 4,098 | 205 | 2.454 | 1.769 | 1.684 | 0.642 | 3 |
| Released DeepAFx-ST models (equalizer and compressor) | ||||||||
| DeepAFx-ST, speech | - | 1 | 0.30 | 5.511 | 6.286 | 2.498 | - | 0 |
| DeepAFx-ST, music | - | 1 | 0.29 | 5.226 | 5.884 | 2.097 | - | 0 |
| DeepAFx-ST, speech, 48 kHz render | - | 1 | 0.20 | 2.548 | 2.538 | 2.347 | - | 0 |
| DeepAFx-ST, music, 48 kHz render | - | 1 | 0.23 | 2.228 | 2.055 | 1.884 | - | 7 |
score every method after resampling output and target to 24 kHz and peak-normalizing each. As an ablation, and as DeepAFx-ST's authors did for 44.1 kHz audio, we also render the predicted controls on the 48 kHz input. The DeepAFx-ST renderer contains only an equalizer and a compressor, and the released models were trained on other recordings. This comparison tests the released models outside their training distribution. It does not test the approach trained on our pairs.
Measurement. All runs use one seed, the same GPU, and eight CPU threads. Times include encoding, rendering, and optimization. TAPE runs with PyTorch's default TF32 convolutions; disabling TF32 leaves the weights unchanged and raises its mean STFT L1 from 1.120 to 1.177. Confidence intervals come from 2,000 bootstrap resamples over effect configurations, and p-values from paired Wilcoxon signed-rank tests over the 60 pairs.
Search results. At both settings, no method available at inference had a significantly lower mean error than TAPE's forward pass. At the full setting, the AFx-Rep search had a mean STFT L1 of 2.91, above both TAPE's 1.12 and the input's 2.34 (Table 2), a difference from TAPE of +1.79 [+1.37, +2.30] (). The search had lower error than TAPE on 2 of the 60 pairs and took 143 s per clip, about 275 times TAPE's time. With as the objective, the search reached 2.50 (+1.38 [+1.09, +1.69] against TAPE), or 1.70 after peak normalization, against 1.81 for the input and 1.39 for TAPE. Starting the search from TAPE's output moved it away from the target (2.70 with AFx-Rep and 2.45 with ). Every search remained above TAPE at the common 24 kHz bandwidth (). At the reduced setting, every search over the basic chain had a higher mean error than both TAPE and the input. The ST-ITO search had a higher error than TAPE in every effect family, at either setting (Appendix K). The gap remains after peak normalization, although peak-normalizing the chain's input, as ST-ITO does, also changes how its compressor and distortion act.
Embedding distance and paired error. The searches did lower the distance they optimized. From the reduced to the full setting, the AFx-Rep search lowered its AFx-Rep distance from 0.39 to 0.26, but its STFT L1 did not fall significantly (from 3.28 to 2.91; ). On 56 of the 60 pairs it moved closer to the reference in AFx-Rep than TAPE did while moving farther from the target (49 at the reduced setting). At both settings, CMA-ES reached a lower AFx-Rep distance than random search, but its error was not significantly lower (at the full setting, 0.26 versus 0.37, and STFT L1 2.91 versus 2.94; ). Within each pair, we rank-correlated the AFx-Rep distance to wet with the error to wet over the outputs of TAPE and the nine reduced-setting searches and adaptations in Table 15 (Appendix K). The median Spearman correlation across pairs was -0.17, against 0.65 for distance in , although the outputs come from two different renderers. In these evaluations, minimizing effect-embedding distance did not reliably improve paired reconstruction.

Figure 4 Reconstruction error against wall-clock cost (60 pairs). Lines follow each search as its budget grows at the reduced setting: 8 to 128 renders of the basic chain, 8 to 32 latent candidates, or 1 to 16 TTA steps. Solid lines optimize AFx-Rep and dashed lines optimize . Squares (ST-ITO search) and diamonds (TAPE, then chain search) mark the full setting of Table 2, filled for AFx-Rep and open for . The star is TAPE's single forward pass, and the dotted line is the unprocessed input.
Searching in TAPE's own space did not help either. Latent CMA-ES, which perturbs around and decodes each candidate with , changed the mean STFT L1 by less than 0.005 under either objective (). Sixteen Adam steps on (latent TTA) gave no significant change with AFx-Rep (+0.018, ) and raised the error by 7% with (, uncorrected). An oracle that took the same steps against a multi-resolution STFT loss to lowered the error by 15% and improved 55 of the 60 pairs. The decoder can thus render outputs closer to the target than the one that selects.
DeepAFx-ST results. The released DeepAFx-ST models had the highest error of all methods at 48 kHz (5.51 for the speech model and 5.23 for the music model), mostly due to the missing content above 12 kHz. At the common 24 kHz bandwidth with peak normalization, the music model reached 2.10, against 1.31 for TAPE and 1.72 for the unprocessed input, and TAPE had the lower error on 55 of the 60 pairs (). With its controls rendered on the 48 kHz input, the music model reached 1.88 at this bandwidth, still above the input's error. The gap also held within the dynamics and equalization families (20 pairs), where the music model reached 2.08, against 1.35 for TAPE and 1.86 for the input. The released models took about 0.3 s per clip, against 0.52 s for TAPE.
7.3 Streaming the decoder
A musician can play through an effect only if it adds little latency (Lago and Kon, 2004). The encoder and the control heads run once per reference, and only the chain of has to run per buffer. We adapted the chain to causal processing in C++ and carry all filter, envelope, and convolution state across buffers. The chain adds no buffering or lookahead beyond the host buffer, although its filters and reverberator keep their own phase delay. The offline equalizer, tone filter, and mean removal have no exact causal counterpart. The FFT-grid equalizer becomes a cascade of five biquads, the zero-phase tone filter becomes a first-order low-pass with the same cutoff, and clip-mean removal becomes a 20 Hz DC blocker. The streamed chain is thus a causal variant of and not a sample-exact port. Appendix L measures each substitution.
Speed. We streamed the chain of the R3GAN variant with its trained weights on one CPU core and simulated host callbacks offline (Table 3). Conditioning, that is, the encoder, the control heads, and the impulse generator, also runs in C++ and takes 1.43 s per reference. With 128-sample buffers (2.67 ms), a callback took 1.51 ms on average, 1.76 times faster than real time, and none of the 112,500 callbacks exceeded its budget. With 64-sample buffers the chain ran 1.50 times faster than real time on average. However, 21 of 225,000 callbacks, in 20 of the 60 clips, missed their deadline. The program allocates memory inside callbacks, its timing was not isolated from other workloads, and the budgets exclude the buffering of an audio interface. These measurements do not establish a hard real-time guarantee.
Table 3 Streaming the trained chain on one CPU core at 48 kHz, over the 60 five-second dry inputs of Section 7.2, in simulated host callbacks. Time is the mean processing time per clip, excluding the once-per-reference conditioning, and RTF is the clip duration divided by that time. p99 is the 99th percentile of callback time, averaged over clips; Worst is the slowest callback over all clips; Missed counts callbacks that exceeded the budget.
| Buffer | Budget (ms) | Time (s) | RTF | p99 (ms) | Worst (ms) | Missed |
|---|---|---|---|---|---|---|
| 64 | 1.33 | 3.32 | 1.50 | 0.92 | 1.76 | 21 of 225,000 |
| 128 | 2.67 | 2.84 | 1.76 | 1.56 | 2.38 | 0 of 112,500 |
| 256 | 5.33 | 2.61 | 1.92 | 2.85 | 3.64 | 0 of 56,280 |
| 512 | 10.67 | 2.52 | 1.99 | 5.47 | 6.28 | 0 of 28,140 |
| 1,024 | 21.33 | 2.48 | 2.02 | 10.72 | 11.77 | 0 of 14,100 |
Appendix L describes a second, allocation-free implementation of the same chain, which we have run only with random weights.
Fidelity. On every clip, the outputs streamed at different buffer sizes agree at a signal-to-error ratio above 111 dB. In a causality check on one clip, replacing the input from a point inside a callback onward changed the earlier output by at most . Run on whole clips with the offline operators, the C++ program matches PyTorch in strict single precision (TF32 disabled) at a waveform signal-to-error ratio of 67.9 dB on average and at least 34.5 dB. The streamed output's error against the target is close to the offline error at this precision, with a mean STFT L1 of 1.179 against 1.177 (difference +0.002 [-0.009, +0.016]; ) and of 1.506 against 1.448 after peak normalization (). At 24 kHz with peak normalization the streamed output had a higher error (1.366 against 1.323; , uncorrected). The streamed and offline waveforms differ more, at a signal-to-error ratio of 22.7 dB on average and from -16.6 to 49.8 dB across clips. Resetting the state at every 256-sample buffer instead raised STFT L1 by 1.55 [1.30, 1.81]. We have not tested whether listeners hear the difference between streamed and offline outputs.
8 Discussion
Evaluation. Objective metrics and listeners disagreed in our studies: joint training from scratch had the lowest STFT L1 but scored about the same as dry audio (Study 2). Refining the reverberation impulse halved its time-domain L1 but worsened its STFT L1, without a detected listening difference. With six to nine overlapping listeners per panel and no low anchor, we rely on within-listener contrasts and on the repeat of the main contrast in Study 3. Claims about absolute quality would need a larger panel and item-level modeling. The objective and listening results also come from two variants of the adversarial stage, and Studies 2 and 4 and the ablations use same-content validation clips.
Inference-time objectives. In Section 7.2, search over ST-ITO's basic chain and gradient steps on both lowered distance in an effect embedding. Neither lowered the average error against the target, but an oracle loss against the target did. The oracle lowers the error by changing only , which places part of the remaining error in the choice of . The chain mismatch noted in Section 7.2 also means that our search does not separate the search method from the renderer. Running ST-ITO on its VST chain and searching TAPE's own actuators from a neutral start would do so. Retraining DeepAFx-ST or DeepAFx-ST+ on our pairs would remove the mismatch in training data but not in renderers. ST-ITO can drive unseen and non-differentiable plugins, and TAPE cannot.
Scope and future work. TAPE covers 68 mono processors. The chain has no stage driven by a low-frequency oscillator, and the residual's 3.8 ms receptive field cannot realize one. The nine modulation plugins and tape wow and flutter are only approximated. Unseen plugins and stereo processing would need new rendering, a stereo encoder input, and a stereo chain. Comparing embeddings of different recordings processed by the same plugin would measure source invariance directly. References that share the plugin but not the setting would show how much of the transfer relies on setting-specific information in . An unconstrained decoder on the same frozen would show what the readable chain costs in fidelity. Other next steps are refining the joint-finetune checkpoint, a reconstruction-only continuation with the same budget and trainable parameters as the adversarial stage, and training with its causal operators. For streaming, the trained program still has to run without allocation in an audio-device callback.
9 Conclusion
We presented TAPE, which embeds the processing on a reference recording with an encoder trained to identify 68 processors. A factorized differentiable DSP chain decodes the embedding into editable controls in one forward pass. Before fine-tuning, the encoder places processors of the same family near each other in a t-SNE projection, without family labels. After a least-squares adversarial stage, listeners rated the decoder's transfer above its reconstruction-only counterpart on two disjoint sets of pairs, and above the unprocessed input in Study 1. The variant fine-tuned with the R3GAN loss had lower spectral error than the released DeepAFx-ST models and than search over ST-ITO's basic chain at 4,097 renders per example, in about 1/275 of the search's time. On most pairs, the search ended closer to the reference in an effect embedding than TAPE did but farther from the target. Better inference-time objectives remain an open problem. In simulated host callbacks, a causal C++ version of the trained chain ran faster than real time on average on one CPU core, and its 48 kHz spectral error was close to that of the offline decoder. TAPE drives only its own chain and cannot control plugins a user already owns. The chain still has no modulation stage, and stereo processing and unseen plugins remain future work.
References
Shaojie Bai, J. Zico Kolter, and Vladlen Koltun. An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv preprint arXiv:1803.01271, 2018. doi: 10.48550/arXiv.1803.01271.
Adrien Bardes, Jean Ponce, and Yann LeCun. VICReg: Variance-invariance-covariance regularization for self-supervised learning. In International Conference on Learning Representations (ICLR), 2022. URL https://openreview.net/forum?id=xm6YD62D1Ub.
David Braun and Adam Finkelstein. PEACE: Joint embeddings of DSP effects code and audio. arXiv preprint arXiv:2610.03405, 2026. doi: 10.48550/arXiv.2610.03405. Accepted to ISMIR 2026.
Robert Bristow-Johnson. Audio EQ cookbook. W3C working group note, W3C, 2021. URL https://www.w3.org/TR/audio-eq-cookbook/. 8 June 2021. Adapted from Audio-EQ-Cookbook.txt by Robert Bristow-Johnson.
Yu-Hua Chen, Yen-Tung Yeh, Yuan-Chiao Cheng, Jui-Te Wu, Yu-Hsiang Ho, Jyh-Shing Roger Jang, and Yi-Hsuan Yang. Towards zero-shot amplifier modeling: One-to-many amplifier modeling via tone embedding control. In Proc. International Society for Music Information Retrieval Conference (ISMIR), pages 446–453, 2024. doi: 10.5281/zenodo.14877373.
Yuan-Chiao Cheng, Jui-Te Wu, Brian Chen, Yen-Tung Yeh, Yu-Hua Chen, and Yi-Hsuan Yang. StemFX: Learning mixing style representations via autoregressive FX chain prediction on source-separated stems. arXiv preprint arXiv:2607.15634, 2026. doi: 10.48550/arXiv.2607.15634. Accepted to ISMIR 2026.
Kyunghyun Cho, Bart van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using RNN encoder–decoder for statistical machine translation. In Proc. Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1724–1734. Association for Computational Linguistics, 2014. doi: 10.3115/v1/D14-1179.
Annie Chu, Patrick O'Reilly, Julia Barnett, and Bryan Pardo. Text2FX: Harnessing CLAP embeddings for text-guided audio effects. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5, 2025. doi: 10.1109/ICASSP49660.2025.10890334.
Joseph T. Colonel and Joshua Reiss. Reverse engineering of a recording mix with differentiable digital signal processing. The Journal of the Acoustical Society of America, 150(1):608–619, 2021. doi: 10.1121/10.0005622.
Marco Comunità, Dan Stowell, and Joshua D. Reiss. Guitar effects recognition and parameter estimation with convolutional neural networks. Journal of the Audio Engineering Society, 69(7/8):594–604, 2021. doi: 10.17743/jaes.2021.0019.
Marco Comunità, Christian J. Steinmetz, Huy Phan, and Joshua D. Reiss. Modelling black-box audio effects with time-varying feature modulation. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5. IEEE, 2023. doi: 10.1109/ICASSP49357.2023.10097173.
Marco Comunità, Christian J. Steinmetz, and Joshua D. Reiss. Differentiable black-box and gray-box modeling of nonlinear audio effects. Frontiers in Signal Processing, 5:1580395, 2025. doi: 10.3389/frsip.2025.1580395.
Eero-Pekka Damskägg, Lauri Juvela, Etienne Thuillier, and Vesa Välimäki. Deep learning for tube amplifier emulation. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 471–475, 2019a. doi: 10.1109/ICASSP.2019.8682805.
Eero-Pekka Damskägg, Lauri Juvela, and Vesa Välimäki. Real-time modeling of audio distortion circuits with deep learning. In Proc. Sound and Music Computing Conference (SMC), pages 332–339, 2019b.
Seungheon Doh, Junghyun Koo, Marco A. Martínez-Ramírez, Wei-Hsiang Liao, Juhan Nam, and Yuki Mitsufuji. Can large language models predict audio effects parameters from natural language? In Proc. IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA), pages 1–5. IEEE, 2025. doi: 10.1109/waspaa66052.2025.11230953.
Seungheon Doh, Junghyun Koo, Marco A. Martínez-Ramírez, Woosung Choi, Wei-Hsiang Liao, Qiyu Wu, Juhan Nam, and Yuki Mitsufuji. LLM2Fx-Tools: Tool calling for music post-production. In International Conference on Learning Representations (ICLR), 2026. URL https://proceedings.iclr.cc/paper.files/paper/2026/hash/a4b0057a452dfc8ad4c31dce819274d7-Abstract-Conference.html.
Hao-Wen Dong, Cong Zhou, Taylor Berg-Kirkpatrick, and Julian McAuley. Deep Performer: Score-to-audio music performance synthesis. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 951–955. IEEE, 2022. doi: 10.1109/icassp43922.2022.9747217.
Felix Eichas and Udo Zölzer. Black-box modeling of distortion circuits with block-oriented models. In Proc. International Conference on Digital Audio Effects (DAFx), pages 39–45, 2016.
Felix Eichas and Udo Zölzer. Gray-box modeling of guitar amplifiers. Journal of the Audio Engineering Society, 66(12):1006–1015, 2018. doi: 10.17743/jaes.2018.0052.
Jesse Engel, Lamtharn (Hanoi) Hantrakul, Chenjie Gu, and Adam Roberts. DDSP: Differentiable digital signal processing. In International Conference on Learning Representations (ICLR), 2020. URL https://openreview.net/forum?id=B1x1ma4tDr.
Alfred Fettweis. Wave digital filters: Theory and practice. Proceedings of the IEEE, 74(2):270–327, 1986. doi: 10.1109/proc.1986.13458.
Dimitrios Giannoulis, Michael Massberg, and Joshua D. Reiss. Digital dynamic range compressor design—a tutorial and analysis. Journal of the Audio Engineering Society, 60(6):399–408, 2012. URL https://aes.org/publications/elibrary-page/?id=16354.
Albert Gu, Karan Goel, and Christopher Ré. Efficiently modeling long sequences with structured state spaces. In International Conference on Learning Representations (ICLR), 2022. URL https://openreview.net/forum?id=uYLFoz1vlAC.
Anmol Gulati, James Qin, Chung-Cheng Chiu, Niki Parmar, Yu Zhang, Jiahui Yu, Wei Han, Shibo Wang, Zhengdong Zhang, Yonghui Wu, and Ruoming Pang. Conformer: Convolution-augmented transformer for speech recognition. In Proc. Interspeech 2020, pages 5036–5040. ISCA, 2020. doi: 10.21437/Interspeech.2020-3015.
Ankit Gupta, Albert Gu, and Jonathan Berant. Diagonal state spaces are as effective as structured state spaces. In Advances in Neural Information Processing Systems (NeurIPS), volume 35, pages 22982–22994, 2022. doi: 10.52202/068431-1670.
Scott H. Hawley, Benjamin Colburn, and Stylianos Ioannis Mimilakis. Profiling audio compressors with deep neural networks. In Audio Engineering Society Convention 147. Audio Engineering Society, 2019. URL https://www.aes.org/e-lib/browse.cfm?elib=20595.
Ben Hayes, Jordie Shier, György Fazekas, Andrew McPherson, and Charalampos Saitis. A review of differentiable digital signal processing for music and speech synthesis. Frontiers in Signal Processing, 3:1284100, 2024. doi: 10.3389/frisp.2023.1284100.
Reemt Hinrichs, Kevin Gerkens, and Jörn Ostermann. Classification of guitar effects and extraction of their parameter settings from instrument mixes using convolutional neural networks. In Artificial Intelligence in Music, Sound, Art and Design (EvoMUSART 2022), Lecture Notes in Computer Science, pages 101–116. Springer, 2022. doi: 10.1007/978-3-031-03789-4_7.
Reemt Hinrichs, Kevin Gerkens, Alexander Lange, and Jörn Ostermann. Blind extraction of guitar effects through blind system inversion and neural guitar effect modeling. EURASIP Journal on Audio, Speech, and Music Processing, 2024(1):9, 2024. doi: 10.1186/s13636-024-00330-0.
Qingqing Huang, Aren Jansen, Joonseok Lee, Ravi Ganti, Judith Yue Li, and Daniel P. W. Ellis. MuLan: A joint embedding of music audio and natural language. In Proc. International Society for Music Information Retrieval Conference (ISMIR), pages 559–566, 2022. URL https://archives.ismir.net/ismir2022/paper/000067.pdf.
Yiwen Huang, Aaron Gokaslan, Volodymyr Kuleshov, and James Tompkin. The GAN is dead; long live the GAN! A modern GAN baseline. In Advances in Neural Information Processing Systems (NeurIPS), volume 37, pages 44177–44215, 2024. doi: 10.52202/079017-1402.
ITU-R. Recommendation ITU-R BS.1534-3: Method for the subjective assessment of intermediate quality level of audio systems. Technical report, International Telecommunication Union, Geneva, October 2015. URL https://www.itu.int/rec/R-REC-BS.1534-3-201510-I/en.
Diederik P. Kingma and Jimmy Lei Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations (ICLR), 2015. URL https://arxiv.org/abs/1412.6980.
Gopala Krishna Koduri, Vignesh Ishwar, Joan Serrà, and Xavier Serra. Intonation analysis of rãgas in Carnatic music. Journal of New Music Research, 43(1):72–93, 2014. doi: 10.1080/09298215.2013.866145.
Jungil Kong, Jaehyeon Kim, and Jaekyoung Bae. HiFi-GAN: Generative adversarial networks for efficient and high fidelity speech synthesis. In Advances in Neural Information Processing Systems (NeurIPS), volume 33, pages 17022–17033, 2020. URL https://proceedings.neurips.cc/paper_files/paper/2020/hash/c5d736809766d46260d816d8dbc9eb44-Abstract.html.
Junghyun Koo, Marco A. Martínez-Ramírez, Wei-Hsiang Liao, Stefan Uhlich, Kyogu Lee, and Yuki Mitsufuji. Music mixing style transfer: A contrastive learning approach to disentangle audio effects. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5, 2023. doi: 10.1109/ICASSP49357.2023.10096458.
Boris Kuznetsov, Julian D. Parker, and Fabián Esqueda. Differentiable IIR filters for machine learning applications. In Proc. International Conference on Digital Audio Effects (DAFx), pages 297–303, 2020.
Nelson Posse Lago and Fabio Kon. The quest for low latency. In Proc. International Computer Music Conference (ICMC), pages 33–36, 2004.
Marc Le Brun. Digital waveshaping synthesis. Journal of the Audio Engineering Society, 27(4):250–266, 1979. URL https://aes.org/publications/elibrary-page/?id=3212.
Jonathan Le Roux, Scott Wisdom, Hakan Erdogan, and John R. Hershey. SDR – half-baked or well done? In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 626–630. IEEE, 2019. doi: 10.1109/icassp.2019.8683855.
Sungho Lee, Jaehyun Park, Seungryeol Paik, and Kyogu Lee. Blind estimation of audio processing graph. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5. IEEE, 2023. doi: 10.1109/icassp49357.2023.10096581.
Xinlu Liu, Huibin Lin, Weixing Wei, and Zhenhai Yan. Beyond dry references: Learning relative audio effects representations via contrastive distance learning. arXiv preprint arXiv:2608.10573, 2026. doi: 10.48550/arXiv.2608.10573. Accepted to ISMIR 2026.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations (ICLR), 2019. URL https://openreview.net/forum?id=Bkg6RiCqY7.
Xudong Mao, Qing Li, Haoran Xie, Raymond Y. K. Lau, Zhen Wang, and Stephen Paul Smolley. Least squares generative adversarial networks. In Proc. IEEE International Conference on Computer Vision (ICCV), pages 2813–2821. IEEE, 2017. doi: 10.1109/ICCV.2017.304.
Marco A. Martínez Ramírez, Oliver Wang, Paris Smaragdis, and Nicholas J. Bryan. Differentiable signal processing with black-box audio effects. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 66–70. IEEE, 2021. doi: 10.1109/icassp39728.2021.9415103.
Stylianos I. Mimilakis, Nicholas J. Bryan, and Paris Smaragdis. One-shot parametric audio production style transfer with application to frequency equalization. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 256–260. IEEE, 2020. doi: 10.1109/ICASSP40776.2020.9054108.
Shahan Nercessian. Neural parametric equalizer matching using differentiable biquads. In Proc. International Conference on Digital Audio Effects (DAFx), pages 265–272, 2020.
Jyri Pakarinen and David T. Yeh. A review of digital techniques for modeling vacuum-tube guitar amplifiers. Computer Music Journal, 33(2):85–100, 2009. doi: 10.1162/comj.2009.33.2.85.
Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. Librispeech: An ASR corpus based on public domain audio books. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5206–5210. IEEE, 2015. doi: 10.1109/ICASSP.2015.7178964.
Côme Peladeau and Geoffroy Peeters. Blind estimation of audio effects using an auto-encoder approach and differentiable digital signal processing. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 856–860. IEEE, 2024. doi: 10.1109/icassp48485.2024.10448301.
Ethan Perez, Florian Strub, Harm de Vries, Vincent Dumoulin, and Aaron Courville. FiLM: Visual reasoning with a general conditioning layer. In Proc. AAAI Conference on Artificial Intelligence, volume 32, pages 3942–3951. AAAI Press, 2018. doi: 10.1609/aaai.v32i1.11671.
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In Proc. International Conference on Machine Learning (ICML), volume 139 of Proceedings of Machine Learning Research, pages 8748–8763. PMLR, 2021. URL https://proceedings.mlr.press/v139/radford21a.html.
Zafar Rafii, Antoine Liutkus, Fabian-Robert Stöter, Stylianos Ioannis Mimilakis, and Rachel Bittner. MUSDB18 - a corpus for music separation. Zenodo dataset, doi: 10.5281/zenodo.1117372, December 2017.
Matthew Rice, Christian J. Steinmetz, George Fazekas, and Joshua D. Reiss. General purpose audio effect removal. In Proc. IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA), pages 1–5, 2023. doi: 10.1109/WASPAA58266.2023.10248157.
Curtis Roads. A tutorial on non-linear distortion or waveshaping synthesis. Computer Music Journal, 3(2):29–34, 1979. doi: 10.2307/3680281.
Michael Schoeffler, Sarah Bartoschek, Fabian-Robert Stöter, Marlene Roess, Susanne Westphal, Bernd Edler, and Jürgen Herre. webMUSHRA – A comprehensive framework for web-based listening tests. Journal of Open Research Software, 6(1):8, 2018. doi: 10.5334/jors.187.
Michael Stein, Jakob Abeßer, Christian Dittmar, and Gerald Schuller. Automatic detection of audio effects in guitar and bass recordings. In Audio Engineering Society Convention 128, 2010. Paper 8013.
Christian J. Steinmetz and Joshua D. Reiss. auraloss: Audio-focused loss functions in PyTorch. In Digital Music Research Network One-day Workshop (DMRN+15), 2020.
Christian J. Steinmetz, Jordi Pons, Santiago Pascual, and Joan Serrà. Automatic multitrack mixing with a differentiable mixing console of neural audio effects. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 71–75, 2021. doi: 10.1109/ICASSP39728.2021.9414364.
Christian J. Steinmetz, Nicholas J. Bryan, and Joshua D. Reiss. Style transfer of audio effects with differentiable signal processing. Journal of the Audio Engineering Society, 70(9):708–721, 2022. doi: 10.17743/jaes.2022.0025.
Christian J. Steinmetz, Shubhr Singh, Marco Comunità, Ilias Ibnyahya, Shanxin Yuan, Emmanouil Benetos, and Joshua D. Reiss. ST-ITO: Controlling audio effects for style transfer with inference-time optimization. In Proc. International Society for Music Information Retrieval Conference (ISMIR), pages 661–668, 2024. doi: 10.5281/zenodo.14877423.
Osamu Take, Kento Watanabe, Takayuki Nakatsuka, Tian Cheng, Tomoyasu Nakano, Masataka Goto, Shinnosuke Takamichi, and Hiroshi Saruwatari. Audio effect chain estimation and dry signal recovery from multi-effect-processed musical signals. In Proc. International Conference on Digital Audio Effects (DAFx), pages 1–8, 2024. URL https://www.dafx.de/paper-archive/2024/papers/DAFx24_paper.53.pdf.
Vesa Välimäki, Julian D. Parker, Lauri Savioja, Julius O. Smith, and Jonathan S. Abel. Fifty years of artificial reverberation. IEEE Transactions on Audio, Speech, and Language Processing, 20(5):1421–1448, 2012. doi: 10.1109/TASL.2012.2189567.
Tara Vanhatalo, Pierrick Legrand, Myriam Desainte-Catherine, Pierre Hanna, Antoine Brusco, Guillaume Pille, and Yann Bayle. A review of neural network-based emulation of guitar amplifiers. Applied Sciences, 12(12):5894, 2022. doi: 10.3390/app12125894.
Soumya Sai Vanka, Christian Steinmetz, Jean-Baptiste Rolland, Joshua Reiss, and György Fazekas. DIFF-MST: Differentiable mixing style transfer. In Proc. International Society for Music Information Retrieval Conference (ISMIR), pages 563–570, 2024. URL https://archives.ismir.net/ismir2024/paper/000062.pdf.
Feng Wang, Jian Cheng, Weiyang Liu, and Haijun Liu. Additive margin softmax for face verification. IEEE Signal Processing Letters, 25(7):926–930, 2018. doi: 10.1109/lsp.2018.2822810.
Kurt James Werner, W. Ross Dunkel, Maximilian Rest, Michael Jørgen Olsen, and III Smith, Julius O. Wave digital filter modeling of circuits with operational amplifiers. In Proc. European Signal Processing Conference (EUSIPCO), pages 1033–1037, 2016. doi: 10.1109/EUSIPCO.2016.7760405.
Thomas Wilmering, David Moffat, Alessia Milo, and Mark B. Sandler. A history of audio effects. Applied Sciences, 10(3):791, 2020. doi: 10.3390/app10030791.
Alec Wright and Vesa Välimäki. Grey-box modelling of dynamic range compression. In Proc. International Conference on Digital Audio Effects (DAFx), pages 304–311, 2022.
Alec Wright, Eero-Pekka Damskägg, and Vesa Välimäki. Real-time black-box modelling with recurrent neural networks. In Proc. International Conference on Digital Audio Effects (DAFx), pages 173–180, 2019.
Alec Wright, Eero-Pekka Damskägg, Lauri Juvela, and Vesa Välimäki. Real-time guitar amplifier emulation with deep learning. Applied Sciences, 10(3):766, 2020. doi: 10.3390/app10030766.
Yusong Wu, Ke Chen, Tianyu Zhang, Yuchen Hui, Taylor Berg-Kirkpatrick, and Shlomo Dubnov. Large-scale contrastive language-audio pretraining with feature fusion and keyword-to-caption augmentation. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5. IEEE, 2023. doi: 10.1109/icassp49357.2023.10095969.
Qingyang Xi, Rachel M. Bittner, Johan Pauwels, Xuzhou Ye, and Juan Pablo Bello. GuitarSet: A dataset for guitar transcription. In Proc. International Society for Music Information Retrieval Conference (ISMIR), pages 453–460, 2018. doi: 10.5281/zenodo.1492449.
Ryuichi Yamamoto, Eunwoo Song, and Jae-Min Kim. Parallel WaveGAN: A fast waveform generation model based on generative adversarial networks with multi-resolution spectrogram. In Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6199–6203, 2020. doi: 10.1109/ICASSP40776.2020.9053795.
David T. Yeh and Julius O. Smith. Simulating guitar distortion circuits using wave digital and nonlinear state-space formulations. In Proc. International Conference on Digital Audio Effects (DAFx), pages 19–26, 2008.
David T. Yeh, Jonathan S. Abel, and Julius O. Smith. Automated physical modeling of nonlinear audio circuits for real-time audio effects—part I: Theoretical development. IEEE Transactions on Audio, Speech, and Language Processing, 18(4):728–737, 2010. doi: 10.1109/TASL.2009.2033978.
Yen-Tung Yeh, Junghyun Koo, Marco A. Martínez-Ramírez, Wei-Hsiang Liao, Yi-Hsuan Yang, and Yuki Mitsufuji. Fx-Encoder++: Extracting instrument-wise audio effects representations from mixtures. In Proc. International Society for Music Information Retrieval Conference (ISMIR), pages 612–620, 2025. doi: 10.5281/zenodo.17811567.
Chin-Yun Yu, Marco A. Martínez-Ramírez, Junghyun Koo, Ben Hayes, Wei-Hsiang Liao, György Fazekas, and Yuki Mitsufuji. DiffVox: A differentiable model for capturing and analysing vocal effects distributions. In Proc. International Conference on Digital Audio Effects (DAFx), pages 334–341, 2025a.
Chin-Yun Yu, Marco A. Martínez-Ramírez, Junghyun Koo, Wei-Hsiang Liao, Yuki Mitsufuji, and György Fazekas. Improving inference-time optimisation for vocal effects style transfer with a Gaussian prior. In Proc. IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA), pages 1–5, 2025b. doi: 10.1109/WASPAA66052.2025.11231006.
Udo Zölzer, editor. DAFX: Digital Audio Effects. John Wiley & Sons, Ltd, Chichester, UK, 2002. doi: 10.1002/047085863X.
Appendix
A Encoder ablations
Table 4 Encoder depth and training objective.
| Depth | Objective | Plugin acc. (%) | Config acc. (%) | Val. loss |
|---|---|---|---|---|
| 6 | Plugin AM-Softmax | 78.7 | 0.01 | 0.875 |
| 8 | Plugin AM-Softmax | 72.5 | 0.00 | 1.115 |
| 6 | Config AM-Softmax | 63.9 | 39.0 | 3.908 |
| 8 | Config AM-Softmax | 55.9 | 25.6 | 4.341 |
| 6 | Hierarchical | 44.3 | 0.89 | 5.074 |
| 8 | Hierarchical | 46.9 | 0.57 | 5.237 |
| 10 | Plugin AM-Softmax | 46.6 | 0.00 | 2.001 |
| 12 | Plugin AM-Softmax | 54.8 | 0.01 | 1.758 |
Plugin-level angular margins give the highest plugin accuracy in this grid, and configuration-level margins buy some preset accuracy at a much higher validation loss. The eight-layer encoder used for all decoding experiments is the second most accurate classifier, after the six-layer one.
B Decoder operators
This appendix gives the operators of Section 5 in full. Figure 5 shows their responses, and Table 13 gives the actuator ranges.

Figure 5 Module responses of the decoder. From left to right: five-band peaking EQ; compressor gain reduction (small shaded band: softplus versus hard knee); five parallel waveshapers; log-magnitude spectrogram of a parametric reverberation impulse.
Gates. In the residual and adversarial stages (Appendix J), a mean-squared penalty pulls the gates toward a binary activation pattern defined for each plugin category. For example, an equalizer should not open the reverberator. The penalty's weight is small enough that the reconstruction loss can override it, so the gates are a readout of what z captured (Figure 3b).
Equalization. A parametric peaking equalizer is classically a cascade of Bristow-Johnson biquads (Bristow-Johnson, 2021). Band with gain dB, center frequency , and quality has
The time-domain recurrence is differentiable in the coefficients. Our decoder uses five peaking bands, with predicted from , and applies the cascade as a single frequency-domain multiplication,
This evaluates the response of the IIR cascade on the FFT grid, which amounts to a circular convolution with a time-aliased impulse response, and avoids backpropagating through a long recurrence.
Compression. A feed-forward compressor (Giannoulis et al., 2012) measures a level , applies a hard-knee gain computer
and smooths with one-pole attack and release. The kink at has zero gradient on the unengaged side, so a predicted threshold receives no learning signal while the compressor is off. Level detection is a causal 10 ms RMS,
and the softplus of Equation 5 replaces the hard knee of Equation 8. Attack and release coefficients are applied with prefix log-sums, so the same recurrence can be differentiated. The smoothed gain is the output of this one-pole filter, and the waveform is .
Waveshaping. Each of the five curves of Equation 6 has its own learned gains and a bias shared across all inputs (Table 14). A first-order Butterworth tone filter follows in the frequency domain, and the tone cutoff and makeup gain are also predicted.
Reverberation. Algorithmic reverberators realize decay through feedback, as parallel combs or feedback delay networks (Välimäki et al., 2012). Their impulse response is implicit, and unrolling those loops for tails that last seconds is unstable to differentiate. We instead synthesize a closed-form decaying-noise impulse whose per-band envelopes match the RT60 that a feedback network would produce. For each of six bands with ,
where is deterministic band-filtered noise. The bands are summed, and a broadband damping envelope with predicted depth and rate shortens the whole tail. This envelope is not frequency-selective, so any frequency-dependent decay comes from the per-band RT60 values. Sparse early reflections with a predicted density are mixed with the tail by a predicted amplitude ratio , as , and a unit direct impulse is added at . The head predicts the six per-band RT60 values, the damping depth and rate, the early-reflection density, and the early/late ratio. The ConvNeXt tier that refines this impulse is pretrained separately and kept frozen while the residual is trained. We have not evaluated with the parametric impulse alone.
C Residual architecture comparison
Twenty-three residual architectures, including feed-forward, recurrent (Cho et al., 2014), temporal-convolutional, state-space (Gu et al., 2022; Gupta et al., 2022), and self-attentive blocks, were trained on the same frozen parametric decoder and evaluated on 23 stratified held-out pairs (Table 5). Rank 1 is highest SI-SDR. The three highest-ranked architectures all have temporal capacity: the causal TCN used in , a grouped SRU (rank 2), and an S4D hybrid (rank 3), within 0.1 dB of one another; the SRU and S4D variants are worse on log-spectral distance. The best feed-forward block (AdaLN) ranks fourth, about 0.4 dB below the causal TCN.
Table 5 Residual architecture comparison (23 pairs; the four highest-ranked of 23 architectures). Temporal means recurrent, convolutional-over-time, or attention-over-time capacity.
| Rank | Architecture | Temporal | SI-SDR (dB) | LSD | L1 | CLAP Dist. |
|---|---|---|---|---|---|---|
| 1 | Causal TCN (used) | Yes | −19.29 | 0.871 | 0.184 | 0.405 |
| 2 | Grouped SRU | Yes | −19.31 | 0.894 | 0.183 | 0.366 |
| 3 | S4D hybrid | Yes | −19.37 | 0.968 | 0.181 | 0.392 |
| 4 | AdaLN feed-forward | No | −19.72 | 0.940 | 0.181 | 0.379 |
| Ranks 5–23 (19 architectures): SI-SDR from −20.52 to −27.04 dB | ||||||
D Decoder curricula
Tables 6 and 7 compare the three curricula of Section 5.1, objectively and by listening (Study 2). Both use same-content reconstruction on validation clips: is extracted from each clip’s processed signal and applied to its own dry signal, unlike the cross-content pairs of Section 7. Spectral residuals favor joint training from scratch. In Study 2, every listener rated the two-stage curriculum (joint finetune) above separate heads and above dry audio. Both contrasts gave , the smallest value attainable with six listeners, which does not survive a Holm correction for the two contrasts (0.0625). Joint training from scratch scored about the same as dry audio (48.8 versus 49.7).
Table 6 Joint versus separate parameter-head training (200 validation-split clips, same-content reconstruction). CLAP Dist. is 1 – cos between CLAP embeddings of prediction and reference.
| Condition | STFT L1 | Time L1 | CLAP Dist. |
|---|---|---|---|
| Separate | 2.314 | 0.117 | 0.333 |
| Joint finetune | 1.224 | 0.116 | 0.308 |
| Joint scratch | 1.052 | 0.132 | 0.208 |
Table 7 Listening results for the curricula of the DSP chain on same-content validation clips (Study 2, ; similarity to the reference, 0–100). Means and SDs are over all ratings, and 95% CIs are bootstrap intervals over per-listener means.
| Condition | Mean | SD | 95% CI |
|---|---|---|---|
| Joint finetune | 66.4 | 25.6 | [57.4, 74.2] |
| Separate | 51.1 | 26.1 | [41.4, 60.2] |
| Unprocessed | 49.7 | 26.0 | [41.1, 57.9] |
| Joint scratch | 48.8 | 26.5 | [39.0, 58.6] |
E Reverberation tiers
On the impulse responses, refinement halves time-domain L1 and worsens STFT L1 (Table 8). In Study 4 (), unprocessed dry audio scored 60.5, the parametric prior 57.8, and the refined impulse 56.0, with no pairwise test reaching . The study detected no preference between the tiers, or for either tier over dry audio (Section 7.1). With nine listeners, it cannot rule out a small one. The reverberation row of Table 9 (time-domain L1 0.391) measures rendered audio of cross-content test pairs through the full decoder and is not comparable with this table.
F Cross-content results
Table 9 splits the cross-content results of Section 7.1 by family. Among families with at least six pairs, dynamics have the lowest STFT L1. Chain configurations route several processors in series and so require several modules of to cooperate, and they are close to the global mean. CLAP distance ranks the families differently: equalization has the highest STFT L1 but a mid-range CLAP distance, and modulation and chains are farthest from the reference in CLAP
Table 8 Parametric reverberation prior versus the refined impulse (50 clips). Each clip is a validation-split dry recording convolved with an impulse response from the reverberation plugins; z is extracted from that convolved clip, so this is same-content reconstruction, and the impulse set is not split. STFT L1 and time L1 compare the predicted impulse response with the true one, not the rendered audio. Study 4, which rated the rendered clips, detected no significant listening difference.
| Condition | STFT L1 (mean) | STFT L1 (median) | Time L1 |
|---|---|---|---|
| Parametric prior | 4.451 | 2.873 | 0.00198 |
| Refined impulse | 4.927 | 4.158 | 0.00099 |
space. These 60 cross-content pairs differ from the 200 same-content validation clips of Table 6, so absolute values are not comparable across the two.
Table 9 Per-family cross-content reconstruction after adversarial fine-tuning (60 pairs, R3GAN variant). Chain is an evaluation grouping for held-out configurations that route several processors in series, not one of the eight plugin families of Table 10. One pair with an unresolved category is included in the global row only.
| Family | STFT L1 | Time L1 | CLAP Dist. | N |
|---|---|---|---|---|
| Preamplification | 0.713 | 0.057 | 0.028 | 1 |
| Dynamics | 0.927 | 0.027 | 0.073 | 11 |
| Modulation | 1.010 | 0.058 | 0.341 | 6 |
| Reverberation | 1.015 | 0.391 | 0.184 | 3 |
| Saturation/Distortion | 1.149 | 0.228 | 0.133 | 2 |
| Chain | 1.176 | 0.057 | 0.308 | 27 |
| Equalization | 1.299 | 0.060 | 0.113 | 9 |
| Global | 1.120 | 0.075 | 0.220 | 60 |
G Effect-score heuristic
The composite score drops renders whose wet signal is not a salient transformation of the dry signal.
If the wet waveform is silent while the dry waveform is not, the score is and the pair is never used.
Six normalized discrepancies are then aggregated. With Pearson correlation between aligned frames, . With the absolute RMS difference in decibels, . Crest-factor, centroid, and spectral-flatness shifts give , , . Spectra are split into bands below 300 Hz, 300 Hz to 4 kHz, and above 4 kHz; from the change in band energy fractions. Weights downweight RMS-only differences that loudness normalization removes,
Corpus generation redraws parameters that score below 0.40. After redrawing, about 37% of the roughly two million renders still score below 0.40, as estimated from a histogram of the scores. The training configurations set a lower floor per stage: for the encoder and the residual, and for the joint DSP stages and the adversarial stage. The saved outputs do not record whether this floor was applied to the 60 evaluation pairs.
H Plugin catalog
Sixty-eight VST3 processors entered training after their rendered wet signals were checked. Each plugin carries one of 21 fine-grained category tags (the Cat. column), which group into the eight families of Table 10. The search comparison groups its 60 pairs by the label of their configuration, which is a tag or, for configurations that route several plugins in series, “chain”. Table 11 lists identifiers, display names, category tags, and control counts.
Synthetic sources are sine sweeps and white, pink, and brown noise. Datasets distributed at lower sample rates, such as LibriSpeech at 16 kHz, are resampled to 48 kHz before rendering, and every source is rendered at full length. Each training item requires at least two distinct tracks through the same configuration, and configurations that cannot meet that rule are dropped. Table 10 summarizes the 68 plugins by family.
Table 10 Plugin inventory by family (68 total).
| Family | Plugins | Representative types |
|---|---|---|
| Dynamics / Compression | 19 | Feed-forward, vari-mu, optical, bus comp |
| Equalization | 14 | Parametric, graphic, vintage transformer |
| Modulation | 9 | Chorus, phaser, flanger, tremolo |
| Preamplification | 9 | Channel strip, transformer, tube pre |
| Reverberation | 8 | Algorithmic, plate, hall, room |
| Analog tape | 5 | Tape saturation, wow/flutter |
| Saturation / Distortion | 3 | Harmonic exciter, soft-clip, wavefold |
| Miscellaneous | 1 | Multi-tool (EQ and waveshaping) |
| Total | 68 |
Table 11 Sixty-eight training plugins with stable identifiers, display names, condensed category tags, and differentiable control counts ().
| ID | Display name | Cat. | |
|---|---|---|---|
| 4k_eq | 4K EQ | eq | 20 |
| airwindows_chorus | Airwindows Consolidated (Chorus) | chorus | 10 |
| airwindows-consolidated_compressor | Airwindows Consolidated (Compressor) | compressor | 10 |
| airwindows-consolidated_eq | Airwindows Consolidated (EQ Algorithms) | eq | 10 |
| airwindows-consolidated_modulation | Airwindows Consolidated (Modulation Algorithms) | modulation | 10 |
| airwindows-consolidated_preamp | Airwindows Consolidated (Console/Preamp) | preamp | 10 |
| airwindows-consolidated_reverb | Airwindows Consolidated (Reverb Algorithms) | reverb | 10 |
| airwindows_tape | Airwindows Consolidated (Tape Algorithms) | tape | 10 |
| airwindows_tremolo | Airwindows Consolidated (Tremolo) | tremolo | 10 |
| blendeq | BLENDEQ | eq | 12 |
| blue_cat_chorus | Blue Cat's Chorus | chorus | 5 |
| blue_cat_flanger | Blue Cat's Flanger | flanger | 7 |
| blue_cat_phaser | Blue Cat's Phaser | phaser | 6 |
| blue_cat_triple_eq | Blue Cat Triple EQ | eq | 3 |
| britpre | BritPre | preamp | 4 |
| britpressor | Britpressor | vca compressor | 7 |
| busterse | BUSTERse | compressor | 10 |
| byod | BYOD | distortion | 1 |
| caelum_tape_cassette_2 | Tape Cassette 2 | tape | 7 |
| chow_centaur | ChowCentaur | overdrive | 4 |
| chow_multitool | ChowMultiTool | eq waveshaper | 2 |
| chow_phaser | ChowPhaser | phaser | 7 |
| ctagdrc | CTAGDRC | compressor | 11 |
| dbcomp | dBComp | compressor | 1 |
| dc1a | DC1A | compressor | 6 |
| dragonfly_early_reflections | Dragonfly Early Reflections | reverb | 5 |
| dragonfly_hall_reverb | Dragonfly Hall Reverb | hall reverb | 17 |
| dragonfly_plate_reverb | Dragonfly Plate Reverb | plate reverb | 5 |
| dragonfly_room_reverb | Dragonfly Room Reverb | room reverb | 18 |
| fetcb | FetCB | compressor | 4 |
| fetish | FETish | compressor | 9 |
| g395a | G395a | vintage eq | 4 |
| harqules | Harqules | console eq | 10 |
| ivgi | IVGI2 | saturation | 7 |
| kissofshame | The Kiss of Shame | tape | 5 |
| kolin | Kolin | compressor | 5 |
| lala | LALA | compressor | 4 |
| maxbax | MAXBAX | eq | 3 |
| mjuc_jr | MJUC jr. | compressor | 4 |
(Continued on next page)
Table 11 (continued)
| ID | Display name | Cat. | |
|---|---|---|---|
| n492me | N492ME (NEQME) | eq | 6 |
| oss | OSS | compressor | 1 |
| prebox | PreBOX | preamp | 4 |
| predd | PREDD | preamp | 8 |
| protoverb | Protoverb | reverb | 2 |
| relief_compressor | Relief Compressor | compressor | 18 |
| relief_eq | Relief EQ | eq | 20 |
| specomp | SPECOMP | compressor | 3 |
| ssq | SSQ | eq | 11 |
| t_saturator | T-Saturator | tape | 11 |
| tal_chorus_lx | TAL-Chorus-LX | chorus | 3 |
| tal_reverb_4 | TAL-Reverb-4 | plate reverb | 17 |
| tapemachine | TapeMachine | tape | 17 |
| tdr_kotelnikov | TDR Kotelnikov | compressor | 7 |
| tdr_nova | TDR Nova | eq | 45 |
| tdr_vos_slickeq | TDR VOS SlickeQ | eq | 11 |
| tilta | TILTA | eq | 3 |
| tuba | TUBA | preamp | 7 |
| tube_preamp | Tube Preamp | preamp | 15 |
| tupre | TuPRE | preamp | 4 |
| valhalla_space_modulator | Valhalla Space Modulator | flanger | 5 |
| valhalla_supermassive | Valhalla Supermassive | reverb | 11 |
| varimoon | VariMoon | compressor | 3 |
| vpre72 | VPRE-72 | preamp | 4 |
| xmcompressor | XMCompressor | compressor | 5 |
| xmeq | XMEQ | eq | 4 |
| xmtubepre | XMTubePre | preamp | 1 |
| yala | YALA | vari mu compressor | 3 |
| zl_compressor | ZL Compressor | compressor | 17 |
I Architecture details
Table 12 specifies the encoder front end and Conformer stack, Table 13 gives per-module actuator ranges, and Table 14 lists the waveshaper curves mixed by Equation 6.
Table 12 Encoder front end and Conformer stack.
| Component | Specification (8-layer; 6-layer omits two blocks) |
|---|---|
| Frontend | Hann FFT, , hop 960 at 48 kHz; 80 mel bins from 0 to 24 kHz, decibel scale with an 80 dB floor. |
| Stem | Convolutional downsampler, temporal shrink, width 128. |
| Conformer | Width 256, depth , 4 heads, depthwise conv kernel 9, FFN 4, rotary/content mix 50:50, DropPath 0.1. |
| Pooling | Learned query token, then an affine map to . |
| Size | About 5 to parameters for ; 3 to for . |
Table 13 Actuator spans after sigmoidal remapping.
| Stage | Ranges |
|---|---|
| EQ | Gain 12 dB; ; frequency 20 Hz to 20 kHz |
| Compressor | Threshold dBFS; ratio ; attack ms; release ms |
| Distortion | Drive up to +36 dB; tone low-pass 500 Hz to 20 kHz; makeup to dB |
Residual color is a causal TCN: a pointwise input convolution to 32 channels; four blocks of dilated causal convolution (kernel 13, dilation ), batch normalization, PReLU, and FiLM (width 128), each with a residual connection; a pointwise output convolution; and a skip connection from the input. Module gates are continuous sigmoids, initialized open ().
Table 14 Waveshaper curves mixed by the softmax in Equation 6.
| k | Name | |
|---|---|---|
| 1 | Tanh saturation | |
| 2 | Hard clip | |
| 3 | Asymmetric tube | |
| 4 | Diode | |
| 5 | Sine wavefolder |
J Training hyperparameters
Unless noted, optimization is AdamW (Loshchilov and Hutter, 2019), that is, Adam (Kingma and Ba, 2015) with decoupled weight decay, with linear warmup and cosine decay.
Encoder classification. Peak learning rate , weight decay , batch 32, dropout 0.4, warmup 1000 steps, up to 250,000 updates. AM-Softmax uses scale 15 and margin 0.25; the VICReg variance and covariance terms (Bardes et al., 2022) have weights and . Pairs scoring below about 0.15 on Appendix G are not mined.
Joint DSP prediction. Learning rate , weight decay , warmup 1000, batch 64, 50,000 steps. Spectral reconstruction uses multi-resolution Hann STFT pairs (Yamamoto et al., 2020) with () of (512, 128), (1024, 256), and (2048, 512), unit weight, and on waveform . At each resolution the training loss sums spectral convergence, the distance between linear magnitudes, and the distance between log magnitudes; the evaluation metric of Section 6 keeps only the log-magnitude term. This stage has no gate loss.
Residual color. 200,000 steps at peak learning rate , warmup 4000, weight decay , batch 8, same STFT settings, and a gate loss with : the mean squared error between the module gates and a binary pattern per plugin category (for example, equalizer and residual on, the rest off, for an equalizer), skipped for categories without a pattern.
Impulse-response refinement (pretrained separately, then frozen while the residual is trained). Generator and critic peaks (), 100,000 iterations, batch 8, adversarial weight , feature matching .
Perceptual refinement of . Both variants: generator peak , critic , batch 4, 50,000 iterations, reconstruction weights , , , adversarial weight ramped in over 10,000 steps after 5,000 reconstruction-only steps, feature matching 1.0, gradient clipping 0.1 (generator) and 0.5 (critic). One critic step per three generator steps. R1 and R2 penalties have weight , decayed by 0.9999 per step to a floor of 1, and are computed every 16 critic steps. The optimizer covers all system parameters, including the encoder's, unless the encoder is frozen as an ablation.
K Search and DeepAFx-ST comparison details
Reduced setting. The reduced setting uses a population of 8 with , started from the best of 8 uniformly random candidates, for 128 renders per example with no early stopping. It matches the five-second clips directly, without the padding of the public code. At this setting we also searched in TAPE's space, with and frozen. Latent CMA-ES perturbs around (32 candidates, relative to the RMS of ) and decodes each candidate with . Latent TTA takes 16 Adam steps on (learning rate 0.01) against the same two objectives. The oracle takes the same 16 steps against a multi-resolution STFT loss to wet. TAPE, then chain search ran at both settings.
Table 15 gives the results. After 128 renders, the AFx-Rep search had brought its outputs closer to wet in AFx-Rep than TAPE's output (cosine distance 0.39 versus 0.66). The same outputs were farther from wet than both TAPE's output and the unprocessed input (STFT L1 3.28 versus 1.12 and 2.34; against TAPE). Optimizing instead of AFx-Rep, or searching a correction applied after TAPE's output, did not close the gap. The corrective search moved TAPE's output away from the target as its budget grew (Figure 4). Part of the raw gap is level. TAPE's outputs have a mean signed RMS error of +0.8 dB against the target (mean absolute error 5.6 dB), whereas the chain's peak-normalized outputs are on average about 14 dB louder than the target. The gap persists after peak-normalizing output and target (2.40 for ST-ITO, 1.39 for TAPE, and 1.81 for the input). CMA-ES lowered the AFx-Rep distance more than random search did (0.39 versus 0.51; ), but its STFT L1 was not lower (3.28 versus 3.03; ). With as the objective, the error fell from 3.14 at this setting to 2.50 at the full setting ().
Table 15 One forward pass versus per-example search at the reduced setting (60 held-out pairs; means over pairs). STFT L1 is measured against the withheld wet; Peak normalizes output and target to unit peak first. is the change in STFT L1 relative to TAPE, with a 95% bootstrap interval. AFx and are cosine distances to wet in AFx-Rep and in our encoder; each search lowers the distance it optimizes. Renders count full evaluations of the basic chain or of per example; TTA also takes 16 backward passes. Time is the median wall-clock seconds per five-second clip. Searches of the basic chain with optimize on peak-normalized audio, which reaches 0.29 and 0.27; the column shows the unnormalized distance.
| Method | Objective | Renders | Time | STFT L1 | [95% CI] | Peak | AFx | |
|---|---|---|---|---|---|---|---|---|
| Unprocessed dry | - | 0 | - | 2.335 | +1.215 [+0.929, +1.537] | 1.808 | 0.894 | 0.797 |
| TAPE, one pass | - | 1 | 0.52 | 1.120 | - | 1.391 | 0.660 | 0.372 |
| Search over ST-ITO’s basic chain | ||||||||
| ST-ITO search | AFx-Rep | 128 | 4.2 | 3.278 | +2.158 [+1.687, +2.709] | 2.395 | 0.394 | 0.673 |
| ST-ITO search | 128 | 6.1 | 3.143 | +2.023 [+1.689, +2.382] | 2.255 | 0.819 | 0.510 | |
| Random search | AFx-Rep | 128 | 4.1 | 3.033 | +1.913 [+1.545, +2.312] | 2.288 | 0.508 | 0.733 |
| TAPE, then chain search | AFx-Rep | 129 | 4.7 | 2.859 | +1.739 [+1.297, +2.207] | 2.177 | 0.355 | 0.601 |
| TAPE, then chain search | 129 | 6.6 | 2.687 | +1.567 [+1.203, +1.962] | 2.040 | 0.677 | 0.458 | |
| Search in TAPE’s space, from | ||||||||
| Latent CMA-ES | AFx-Rep | 33 | 16.8 | 1.119 | -0.001 [-0.033, +0.029] | 1.368 | 0.587 | 0.358 |
| Latent CMA-ES | 33 | 17.2 | 1.124 | +0.004 [-0.026, +0.033] | 1.398 | 0.642 | 0.293 | |
| Latent TTA | AFx-Rep | 18 | 18.9 | 1.139 | +0.018 [-0.039, +0.086] | 1.359 | 0.507 | 0.346 |
| Latent TTA | 18 | 19.6 | 1.201 | +0.081 [+0.015, +0.158] | 1.465 | 0.631 | 0.234 | |
| Oracle TTA | wet | 18 | 18.8 | 0.956 | -0.164 [-0.210, -0.120] | 1.281 | 0.621 | 0.384 |
Table 17 splits the comparison of Section 7.2 at the reduced setting by effect family, with the grouping of Table 9. The basic-chain search has a higher error than TAPE’s single pass in every family, under either objective, and Table 16 shows the same at the full setting.
Full setting. The full setting reruns the basic-chain searches on all 60 pairs with the CMA-ES settings of ST-ITO’s public evaluation script (Section 7.2). Each candidate is padded to 262,144 samples, as in that code. With early stopping disabled, every search spends its 4,096 candidate renders, and the reported output is the best candidate under the padded objective rendered again at the clip length; its objective value can therefore differ slightly from the one used for selection.
Precision and timing. Times exclude model loading. Section 7.3 compares the streamed chain with TAPE’s output with TF32 disabled in convolutions and matrix products.
DeepAFx-ST. We use the two autodiff models of the public DeepAFx-ST release, whose renderer is a differentiable parametric equalizer and compressor, not the retrained DeepAFx-ST+ models of ST-ITO. On both checkpoints, our wrapper reproduced the predicted parameters and output waveforms of the upstream forward pass exactly. Input and reference are resampled to 24 kHz and peak-normalized to dBFS, and the output is peak-normalized, as in the official inference script; timing includes this resampling and normalization. Table 16 splits the 24 kHz comparison by family: with the official recipe, the music model has a higher error than the unprocessed input in every family, including dynamics and equalization.
L Real-time measurements
Section 7.3 uses two C++ programs: one that runs the trained model, and an allocation-free implementation of the same causal chain that we have run only with random weights. In both, everything that depends only on , namely filter coefficients, FiLM parameters, and the impulse spectrum, is computed once per reference.
Trained-weight program. An exporter loads the R3GAN checkpoint of Section 7.2, writes the trained tensors of the encoder, the control heads, the gate network, the TCN, and the impulse generator, and checks every exported
Table 16 Full-setting search and DeepAFx-ST by effect family (60 pairs; lower is better). Left: STFT L1 at 48 kHz, with 4,097 renders of the basic chain per search. Right: peak-normalized STFT L1 after resampling output and target to 24 kHz, for the official recipe and the 48 kHz rendering ablation of the music model. One pair with an unresolved category is omitted.
| Family | 48 kHz | 24 kHz, peak-normalized | |||||||
|---|---|---|---|---|---|---|---|---|---|
| N | Dry | TAPE | ST-ITO search | Dry | TAPE | DeepAFx-ST, music | |||
| AFx-Rep | f | Official | 48 kHz | ||||||
| Dynamics | 11 | 2.087 | 0.927 | 2.448 | 2.426 | 1.280 | 0.947 | 1.527 | 1.309 |
| Equalization | 9 | 2.358 | 1.299 | 3.917 | 2.160 | 2.572 | 1.842 | 2.767 | 2.554 |
| Modulation | 6 | 1.763 | 1.010 | 2.762 | 2.327 | 0.967 | 1.043 | 1.358 | 1.210 |
| Reverberation | 3 | 2.055 | 1.014 | 2.034 | 1.362 | 1.579 | 0.914 | 2.012 | 1.728 |
| Saturation/Distortion | 2 | 1.547 | 1.149 | 1.616 | 1.829 | 1.618 | 1.312 | 2.010 | 1.836 |
| Preamplification | 1 | 1.796 | 0.713 | 1.921 | 1.104 | 1.545 | 1.081 | 2.393 | 2.088 |
| Chain | 27 | 2.677 | 1.176 | 3.056 | 2.933 | 1.821 | 1.368 | 2.290 | 2.067 |
Table 17 STFT L1 by effect family for the comparison of Table 15 (60 pairs; lower is better). Searches use 128 renders of the basic chain, 32 latent candidates, or 16 TTA steps. One pair with an unresolved category is omitted.
| Family | ST-ITO search | Latent CMA-ES | Latent TTA | |||||
|---|---|---|---|---|---|---|---|---|
| N | Dry | TAPE | AFx-Rep | f | AFx-Rep | f | Oracle | |
| Dynamics | 11 | 2.087 | 0.927 | 2.997 | 3.403 | 0.948 | 0.927 | 0.743 |
| Equalization | 9 | 2.358 | 1.299 | 4.030 | 3.141 | 1.390 | 1.412 | 1.047 |
| Modulation | 6 | 1.763 | 1.010 | 3.037 | 3.000 | 1.014 | 1.242 | 0.877 |
| Reverberation | 3 | 2.055 | 1.014 | 1.929 | 1.922 | 1.037 | 1.017 | 0.955 |
| Saturation/Distortion | 2 | 1.547 | 1.149 | 1.573 | 2.287 | 1.152 | 0.943 | 0.923 |
| Preamplification | 1 | 1.796 | 0.713 | 1.660 | 1.778 | 0.670 | 0.759 | 0.576 |
| Chain | 27 | 2.677 | 1.176 | 3.579 | 3.309 | 1.132 | 1.282 | 1.035 |
tensor against the checkpoint. The C++ encoder matches PyTorch at 131 dB on a random input and at no less than 109.9 dB on the 60 references. The streaming mode keeps the state of the five biquads, the compressor's RMS detector and all five passes of its attack–release recursion, the tone filter and DC blocker, each TCN layer's input history together with its FiLM modulation, and a uniformly partitioned FFT convolution of the learned impulse. It runs on one CPU core, with timing not isolated from other workloads, and simulates host callbacks offline. It still allocates memory inside callbacks. Conditioning (encoding the reference, predicting controls, and generating the impulse) takes 1.43 s per reference on average and is excluded from callback times. Besides the streaming mode, the program has a whole-clip mode with the offline operators, used for the parity check in Section 7.3, and a reset mode that processes each buffer from a cleared state. In whole-clip mode, its mean STFT L1 against the target differs from that of PyTorch's strict single-precision output by , so its arithmetic differences are much smaller than those that streaming introduces. Across clips, streaming changed STFT L1 by to , and both the streamed and the strict offline outputs lie about 0.06 above TAPE's GPU output with TF32 (Table 2). The buffer-size comparison of Section 7.3 covers all 60 clips at all five buffer sizes, and the causality check uses 256-sample buffers and fixed conditioning.
Allocation-free implementation. On one core of an older server CPU than the one used in Section 7.3, the allocation-free chain processes 64-sample buffers 2.6 times faster than real time on average and 2.3 times at the 99.9th percentile of per-buffer time, with strict floating-point arithmetic. These values are medians over five 60 s runs. In five separate 10 s profiling runs, the TCN took about three quarters of the time and the reverberator about a fifth. The two programs differ in code and processor, so their timings are not directly comparable. The allocation-free program is written in C++, runs single-threaded, and makes no memory allocation while processing. Filter, envelope, and level-detector state is held in double precision, and FFT products and neural layers in single precision. The compressor streams exactly because its block formulation in training computes the same attack–release recursion, refined in five passes, as a sample-by-sample update (signal-to-error ratio 105 dB in single precision over 100 random settings). Each TCN layer keeps its own input history (at most 96 samples for the largest dilation), together spanning the network's 181-sample receptive field, with batch normalization folded into the convolutions. The reverberator holds a frequency-domain delay line over all partitions of the 144,000-sample impulse and returns the valid half of each 2B-point transform for the current buffer, so no tail is discarded at buffer boundaries. This program omits the learned impulse generator and the control heads, and a random decaying impulse of the trained length stands in for the generator.
Validation covers four tests. Processing 10 s of noise and of a synthetic harmonic signal in buffers of 32 to 1,024 samples differs from a single whole-signal call by at most . An independent offline implementation of the same operators, run on the same weights and controls with irregular host-call lengths, agrees at a signal-to-error ratio of 119.5 dB with fast floating-point math and 121.5 dB without it. With network biases set to zero, an impulse produces exactly zero output before its onset and a nonzero response at it. Table 18 reports the gap between each streamed stage and the corresponding operation of the offline model over 100 random settings.
Table 18 Signal-to-error ratio (dB) between streamed stages and the offline formulation used in training, over 100 random settings on 5 s clips.
| Stage | Median | 5th percentile |
|---|---|---|
| Equalizer (biquad cascade vs. FFT-grid response) | 54.4 | 29.7 |
| Compressor (single precision) | 105.2 | 82.3 |
| Tone filter (one-pole vs. zero-phase) | 8.2 | 7.0 |
| Mean removal (DC blocker vs. clip mean) | 19.7 | 15.2 |
| Waveshaper stage, all changes | 12.6 | 6.1 |