Multi-instrument Music Synthesis with Spectrogram Diffusion

Curtis Hawthorne, Ian Simon, Adam Roberts, Neil Zeghidour, Josh Gardner +2 more
6/11/2022
cs.SDcs.LGeess.AS
diffusion-flow

Official code: magenta/music-spectrogram-diffusion (399 stars, Jupyter Notebook, Apache-2.0, last commit 2025-01-16).

Abstract

An ideal music synthesizer should be both interactive and expressive, generating high-fidelity audio in realtime for arbitrary combinations of instruments and notes. Recent neural synthesizers have exhibited a tradeoff between domain-specific models that offer detailed control of only specific instruments, or raw waveform models that can train on any music but with minimal control and slow generation.

Show full abstract

In this work, we focus on a middle ground of neural synthesizers that can generate audio from MIDI sequences with arbitrary combinations of instruments in realtime. This enables training on a wide range of transcription datasets with a single model, which in turn offers note-level control of composition and instrumentation across a wide range of instruments. We use a simple two-stage process: MIDI to spectrograms with an encoder-decoder Transformer, then spectrograms to audio with a generative adversarial network (GAN) spectrogram inverter. We compare training the decoder as an autoregressive model and as a Denoising Diffusion Probabilistic Model (DDPM) and find that the DDPM approach is superior both qualitatively and as measured by audio reconstruction and Fréchet distance metrics. Given the interactivity and generality of this approach, we find this to be a promising first step towards interactive and expressive neural synthesis for arbitrary combinations of instruments and notes.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
39931Jupyter Notebook, PythonJul 25, 20221 years agoApache-2.0

Similar Papers

Cite this paper

@article{hawthorne2022multiinstrument,
  title  = {Multi-instrument Music Synthesis with Spectrogram Diffusion},
  author = {Curtis Hawthorne and Ian Simon and Adam Roberts and Neil Zeghidour and Josh Gardner and Ethan Manilow and Jesse Engel},
  year   = {2022},
  eprint = {2206.05408},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.05408}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.05408.svg)](https://codeofpaper.com/paper/2206.05408)

Discussion