Sound2Synth: Interpreting Sound via FM Synthesizer Parameters Estimation

Zui Chen, Yansen Jing, Shengcheng Yuan, Yifei Xu, Jian Wu, Hang Zhao · DOI

Introduction

Digital sound design often presents a daunting "inverse problem" for musicians and sound engineers. While a creator may have a specific timbre in mind, translating that mental image into the precise configurations of a modern synthesizer is a complex task requiring years of expertise. This is particularly true for Frequency Modulation (FM) synthesis—popularized by the legendary Yamaha DX7 and its software counterparts like Dexed—where a single preset can involve over 150 interconnected parameters. In FM synthesis, minute adjustments to a single operator can lead to non-linear, unpredictable changes in the resulting audio.

Previous attempts to automate this process using deep learning have struggled with the high-dimensional nature of the parameter space and the intricate mathematical relationships between harmonics. SOUND2SYNTH introduces a novel deep-learning pipeline designed to "reverse-engineer" these settings, achieving state-of-the-art results that are, for the first time, virtually indistinguishable from the target sounds to the human ear.

Methodology

Multi-modal Feature Extraction

Rather than relying on a single representation of audio, SOUND2SYNTH employs a multi-modal architecture to capture the diverse characteristics of sound. The system processes four distinct inputs:

  1. Raw Waveforms: To capture temporal nuances.
  2. STFT Spectrograms: Processed via a VGG11 backbone to analyze frequency content.
  3. MFCCs: Processed via an LSTM to capture cepstral envelopes.
  4. Statistical Features: Including Zero Crossing Rate (ZCR) and RMS energy to provide high-level descriptors of the sound's energy and noisiness.

Prime-Dilated Convolution (PDC)

The core technical innovation of this research is the Prime-Dilated Convolution (PDC) layer. Standard convolutional layers often fail to capture the physics of sound because harmonics (overtones) appear at integer multiples of the fundamental frequency. In a log-scale spectrogram (such as a Constant-Q Transform), these harmonics are separated by specific, fixed distances.

PDC utilizes prime factorization to design sparse convolutional filters that "jump" specifically to these harmonic locations. By hard-coding these mathematical relationships into the network architecture, the model is forced to learn the underlying physics of timbre rather than simple visual pattern matching. This allows the network to effectively "understand" how FM operators interact to create complex harmonic structures.

Hierarchical Parameter Prediction

To manage the 155 parameters of the Dexed synthesizer, the model uses a hierarchical approach. It first extracts "Global Features," which are then branched into "Local Features" grouped by the synthesizer's six oscillators. This structure respects the internal logic of the synth, using masked connections to ensure the model only predicts parameters relevant to the specific routing (algorithm) being used.

Furthermore, the researchers treated parameter estimation as a classification task rather than a regression problem. By applying Label Smoothing (using a Gaussian kernel on target labels), the model learns that being numerically close to a correct knob value is more desirable than a distant error, improving the stability of the training process.

Experimental Setup and Datasets

The model was trained on a massive, custom-curated dataset for the Dexed synthesizer, consisting of three primary components:

  • Preset-Based Data: Over 100,000 real-world presets collected from online repositories.
  • Augmented Data: Variations created by slightly jittering the parameters of existing high-quality presets.
  • Random Walk Data: Synthetic presets generated by sampling the parameter space to ensure broad coverage of the synthesizer's capabilities.

The training was conducted offline, meaning the model did not require a "live" synthesizer during the learning phase, significantly increasing computational efficiency.

Results

The performance of SOUND2SYNTH was evaluated using the Mel-Frequency Cepstral Coefficients Distance (MFCCD), a metric where lower values indicate higher spectral similarity.

  • Performance: SOUND2SYNTH achieved an MFCCD of 5.36.
  • Comparison: This represents a significant leap over the previous state-of-the-art (PresetGen VAE), which recorded an MFCCD of 14.70.

Human perception studies suggest that the threshold for audible similarity typically falls between 10 and 15. Because SOUND2SYNTH scores well below this threshold, its recreations are perceptually nearly identical to the source audio. Visual analysis of spectrograms confirms that the model accurately captures the complex harmonic "signatures" of diverse sounds, ranging from percussive pianos to sustained synthetic pads.

Conclusion and Future Work

SOUND2SYNTH demonstrates that by combining multi-modal inputs with physics-inspired architectural layers like PDC, deep learning can effectively solve the inverse problem of FM synthesis. However, some challenges remain. The current implementation requires the synthesizer's "Algorithm" (the routing map of its oscillators) to be pre-selected. Future research aims to develop a unified model capable of predicting the algorithm alongside the parameters. Additionally, while the PDC principle is generalizable, expanding this to "blind" synthesis—where the specific synthesizer architecture is unknown—remains the ultimate goal for automated sound design.

Summary updated

BibTeX
@inproceedings{chen2022sound,
  author = {Zui Chen and Yansen Jing and Shengcheng Yuan and Yifei Xu and Jian Wu and Hang Zhao},
  title = {{Sound2Synth: Interpreting Sound via FM Synthesizer Parameters Estimation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/682},
}
Figure