All models

DDX7

A small convolutional network that drives a differentiable FM synthesizer from pitch and loudness.

Audio and speech · 141 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (24 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
415.8K
Operations
141
Framework
PyTorch
Recurrent
No
Published
ISMIR 2022
Cited by
12 (as of 27 October 2026)
Authors
Franco Caspe, Andrew McPherson, Mark Sandler
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15594
Graph hash
4c3be172d74ee31c1fdd68eb8c69dbd23ca0686acee145a186b42c725289afa9
Skeleton hash
569d0888cac4621151036b623fe0db1368af434696ec4ca9d90c4c2ac9d86985
Architecture hash
37e7379b3cae4daa9debecd8786e4c9feaf5dfb20bea25303f6a8b73b216128c
Diagram SHA-256
26211b36230730143877a4ba284d5ac57d4256fd31027d7456b811994b16417f
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

DDX7, short for Differentiable DX7, is a causal and lightweight network that maps continuous audio features to the parameters of a well-known FM synthesizer. FM synthesis generates complex timbre from a compact set of design primitives, but it typically has a MIDI interface and is impractical to control from an audio source. DDX7 addresses this with Differentiable Digital Signal Processing (DDSP), in which a network learns to control differentiable synthesis layers, applied to a model of the Yamaha DX7, whose sound is generated by six frequency-modulated sinusoidal oscillators.

The paper's design constraint is that the network controls only the modulation indices and volume of the oscillators, while the oscillator routing and frequency ratios remain fixed. With those fixed, all harmonics and overtones take a fixed position in the spectrum, which the authors argue lets the spectral reconstruction loss propagate informative gradients. The controller is a causal temporal convolutional network (TCN) with 2 input and 6 output channels and 5 residual blocks of 128 hidden channels, driven by pitch and loudness frames; the paper reports about 400k parameters for this decoder.

The paper trains one model per instrument on violin, flute and trumpet stems from the URMP dataset, down-sampled to 16 kHz and cropped to 4 seconds. Each instrument uses an FM configuration taken from the original patch set of the Yamaha DX7, and the oscillator feedback feature of the DX7 is not deployed.

Key idea. DDX7 shows that fixing the oscillator routing and frequency ratios of an FM synthesizer lets a small network learn its envelopes from audio with a standard spectral reconstruction loss.

  • ddx7
  • differentiable dx7
  • fm synthesis
  • differentiable fm synthesizer
  • neural audio synthesis
  • ddsp
  • musical instrument resynthesis
  • tcn decoder

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{caspe2022ddx7differentiablefmsynthesis,
      title={DDX7: Differentiable FM Synthesis of Musical Instrument Sounds}, 
      author={Franco Caspe and Andrew McPherson and Mark Sandler},
      year={2022},
      eprint={2208.06169},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2208.06169}, 
}