DMSP: differentiable modal synthesis solves nonlinear string PDEs, ~31 dB SI-SDR above linear modal

Differentiable Modal Synthesis for Physical Modeling of Planar String Sound and Motion Simulation

Jin Woo Lee, Jaehyun Park, Min Jun Choi, Kyogu Lee

NeurIPS 2024)

eess.AS, cs.AI, cs.SD, eess.SP

2024-07-08

DMSP turns modal synthesis into a neural network that maps string physics to nonlinear motion and sound in O(1) per query, ~31 dB SI-SDR above linear modal synthesis.

What problem this solves

Physical modeling of string instruments has long forced a choice between three imperfect options. Modal synthesis decomposes vibration into a set of natural modes and is extremely fast once the modes are precomputed offline, but it only solves the linear wave equation: pluck a string hard and the pitch glide and phantom partials that make a real instrument sound alive never appear. FDTD (finite-difference time-domain) solvers handle the full nonlinear PDE but must recurse sample by sample across a space-time grid, and the PyTorch-based StringFDTD-Torch does not even support gradient backpropagation. DDSP-style differentiable synthesizers train end to end, but their harmonic bank is locked to integer multiples of f0, which discards the inharmonicity that string stiffness produces. DMSP goes after all three properties at once: nonlinear, differentiable, physically controllable, and it outputs the string's displacement field rather than only the audio at a pickup.

Method

The design treats the linear modal solution as a skeleton and learns the nonlinearity as a modulation of it.

Training combines four losses: waveform L1 (for phase and spatio-temporal causality), multi-scale spectral (MSS), a pitch loss against CREPE-annotated f0, and a mode loss. Two variants exist: DMSP-Hybrid consumes precomputed ground-truth modes; DMSP estimates them with the network and needs no precomputation.

Results

Training data comes from StringFDTD-Torch: 10,263 simulated strings, 729.8 hours at 48 kHz with 256 spatial points. The test set holds 715 freshly sampled strings (336 linear, 379 nonlinear), about 50 hours.

Nonlinear test set:

MethodSI-SDR (dB, ↑)MSS (dB, ↓)Pitch (Hz, ↓)
DMSP15.674.771.03
DMSP-Hybrid-10.325.661.44
Modalfar below both; the paper reports DMSP-Hybrid nearly 31 dB higher in SI-SDR and 13 dB in MSS
DDSPish / DDSPish-XFMworst across all metrics

The fully-neural DMSP edging out the precomputed-mode Hybrid on every nonlinear metric is the counterintuitive result. Ablations attribute much of it to the pitch loss Lf0: removing it degrades nonlinear MSS from 5.66 to 9.06 dB (Hybrid) and from 4.77 to 8.98 dB (DMSP), with pitch error roughly doubling. Inference costs O(1) per space-time query, with no recursion and, for DMSP, no precomputation.

On the linear test set the ordering flips: DDSPish leads the DMSPs by about 1.6 dB on MSS. The paper traces this to the training distribution, where α is drawn uniformly from (1, 25) and almost never equals exactly 1.

Why it matters

This is a first step from differentiable spectral modeling toward differentiable physical modeling. It gives practitioners three things that were previously out of reach: continuous control over tension, stiffness, damping and pluck parameters; a displacement field you can visualize and use as a physics simulator; and constant-time per-point queries instead of FDTD's per-sample recursion. Differentiability lets the synthesizer sit inside a larger gradient pipeline for parameter fitting or joint training with a controller.

Limitations

The authors state it plainly: generalization to physical parameters and sounds measured from real instruments remains limited. Training and evaluation are entirely against FDTD simulation; no real recording is tested. The scope is a single plucked planar string, with no bowing, body coupling, or multiple strings. Linear strings are handled worse than the purely learned baseline, an artifact of the training distribution. And the headline 31 dB comparison is against a modal synthesizer that can only solve the linear equation to begin with; accuracy against FDTD itself is reported only through metrics on simulated data, with no error bound.

Terms

Source

What people are saying

Related papers

All paper explainers