ChaptersHow it works

02 / The instrument

How it works

Neural character, playable control: four decoders, one blend, and a terrain drawn from what they actually produce.

Verified for version 1.0.4 · Updated October 15, 2026

Contour is powered by compact neural decoders trained on instruments from the NSynth dataset. The network supplies the evolving spectral character; a real-time harmonic-plus-noise engine turns that description into responsive audio.

Signal flow

  1. Four neural decoders. Each corner holds a different learned instrument. The decoders respond to pitch and loudness 250 times per second.

  2. Continuous interpolation. Your position becomes four blend weights. Harmonic energy, filtered noise, and amplitude move together without preset jumps.

  3. Real-time resynthesis. A bank of 60 harmonics and 65 noise bands reconstructs the sound, then ADSR and spatial processing shape the result.

Measured terrain

The contour lines are not decoration. Every line is generated from the sound the four decoders actually produce. Spectra are projected into a perceptual space, distances are measured, and the result is drawn as terrain. Cross a contour and the timbre has changed by a known amount.

What the terrain measures

Brightness
Spectral centre of gravity
Noisiness
Noise-to-tonal energy
Distance
Change between neighbouring spectra
Elevation
Brightness relabelled as topography
Contour's sheet S-07, MABO: a broad basin of contour lines.
Sheet S-07. Each sheet is a different landscape.

Where the sound comes from

Corner instruments use decoders trained on the Google Magenta NSynth dataset (opens in a new tab), licensed under CC BY 4.0.

Some of those sources were recorded in a room, and the room comes with them. If a sheet sounds wet with SPACE at zero, that is why: see Why some sheets sound like a room.

Still stuck? Write to zhi@nonoaudio.com. Support page