Skip to main content
QUICK REVIEW

[Paper Review] Neural Waveshaping Synthesis

Ben J. Hayes, Charalampos Saitis|arXiv (Cornell University)|Jul 11, 2021
Music and Audio ProcessingComputer Science10 citations
TL;DR

This paper introduces the Neural Waveshaping Unit (NEWT), a lightweight, fully causal neural audio synthesis model that learns continuous, differentiable waveshaping functions via time-distributed multilayer perceptrons with periodic activations. It achieves real-time performance on consumer CPUs (RTF < 1) with only 260k parameters, outperforming state-of-the-art models in speed while maintaining competitive audio quality in listening tests and Fréchet Audio Distance metrics.

ABSTRACT

We present the Neural Waveshaping Unit (NEWT): a novel, lightweight, fully causal approach to neural audio synthesis which operates directly in the waveform domain, with an accompanying optimisation (FastNEWT) for efficient CPU inference. The NEWT uses time-distributed multilayer perceptrons with periodic activations to implicitly learn nonlinear transfer functions that encode the characteristics of a target timbre. Once trained, a NEWT can produce complex timbral evolutions by simple affine transformations of its input and output signals. We paired the NEWT with a differentiable noise synthesiser and reverb and found it capable of generating realistic musical instrument performances with only 260k total model parameters, conditioned on F0 and loudness features. We compared our method to state-of-the-art benchmarks with a multi-stimulus listening test and the Fréchet Audio Distance and found it performed competitively across the tested timbral domains. Our method significantly outperformed the benchmarks in terms of generation speed, and achieved real-time performance on a consumer CPU, both with and without FastNEWT, suggesting it is a viable basis for future creative sound design tools.

Motivation & Objective

  • To address the lack of real-time, lightweight neural audio synthesis models compatible with DAW workflows.
  • To enable efficient, causal, and interpretable audio synthesis directly in the waveform domain using neural waveshaping.
  • To reduce model size and inference latency compared to existing state-of-the-art methods like DDSP and HTP.
  • To support dynamic timbral evolution through affine transformations of learned waveshaping functions.
  • To integrate seamlessly into real-time music production environments via CPU-efficient inference.

Proposed method

  • The NEWT uses time-distributed multilayer perceptrons with periodic activation functions to implicitly learn nonlinear waveshaping transfer functions for timbre synthesis.
  • The model applies learned waveshapers to a harmonic exciter signal, with control signals (F0 and loudness) modulating input and output scaling and shifting via affine transformations.
  • A differentiable noise synthesizer and reverb are integrated to enhance realism in generated audio.
  • FastNEWT is introduced as a pruning and quantization-based optimization for efficient CPU inference, reducing inference time by 2.9× compared to the best benchmark.
  • The architecture is trained using a combination of waveform reconstruction loss and perceptual losses, with end-to-end differentiability across all components.
  • The model is evaluated using multi-stimulus listening tests and Fréchet Audio Distance (FAD), with real-time factor (RTF) used to measure inference efficiency.

Experimental results

Research questions

  • RQ1Can a lightweight, fully causal neural architecture learn effective waveshaping functions for realistic musical timbre synthesis?
  • RQ2To what extent can a small model (260k parameters) achieve competitive audio quality compared to larger state-of-the-art models?
  • RQ3Can the model achieve real-time performance on consumer CPUs without sacrificing audio quality?
  • RQ4How do the learned waveshaping functions contribute to timbral evolution and sound quality?
  • RQ5Can the model generalize to timbre transfer and multi-instrument synthesis through control signals?

Key findings

  • The NEWT model achieved real-time performance on a consumer CPU (Intel i5 1038NG7) with a mean RTF of 0.96 for 4-second inputs, outperforming all benchmarks.
  • FastNEWT reduced the mean RTF by 2.9× compared to the best-performing benchmark on CPU, significantly improving inference efficiency.
  • In multi-stimulus listening tests, the model performed competitively with state-of-the-art methods, especially on trumpet and flute timbres.
  • The Fréchet Audio Distance (FAD) scores showed the model was comparable to a similarly sized DDSP benchmark on violin timbres and outperformed it on others.
  • The model achieved a 20× parameter reduction compared to state-of-the-art models while maintaining high audio quality and real-time performance.
  • Visualizations confirmed that the NEWT performs actual waveshaping on the exciter signal, with learned shaping functions and affine parameters dynamically modulating timbre.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.