How we test a synth: signals, chords and honesty

A synth is judged by ear, and that is right. But the ear can be fooled by a good patch, a good speaker and a good mood. We use measurements as a second opinion, and we publish them with their limits. This post walks through three of the tests in the project: the rate audit, the chord test and the CPU bench. None of them replaces listening. All of them have caught things listening would have missed.

Test 1: does it sound the same at every sample rate?

A plugin runs wherever its host is set. 44.1, 48, 88.2, 96 and 192 kHz are all common. A synth that sounds right at 48 kHz can be wrong at 96, because filter coefficients, envelope times and oversampling filters are all computed from the sample rate. A mistake that is inaudible in a quick test can show up later as a patch that is darker, slower or louder than it should be.

The rate audit renders 21 different configurations (engines, filters, effects and so on) at five sample rates and compares each against the 48 kHz result. It looks at three things: level, brightness (the spectral centroid) and attack time. The result: every configuration agreed with the 48 kHz one to within 0.1 dB in level, 7% in brightness and 4 ms in attack time.

Notice what is not claimed. They are not identical: a different sample rate has different aliasing, so brightness can’t match exactly. The threshold is a statement of how much difference we accept and the test fails if it is exceeded.

Test 2: what does a chord do?

This is the test that taught us the most.

When you play one note through a nonlinear process (a saturator, a folder, a pulsar gate) the result is a harmonic series. When you play two or more notes through the same process, the notes interact. The extra components are called intermodulation, and they are not harmonics of any of the notes. They are the sum and difference of every pair. A chord has many pairs, so a chord through a nonlinear process gets muddy.

You can measure it. The chord test plays notes and measures non-chord energy: the share of the output that is not a harmonic of any note being played. In decibels, lower is cleaner.

Bar chart of the chord test: one note, a major chord, a four-note cluster, with the Spread stage off, per note or on the bus
The chord test, from the project's README. Lower is cleaner.
Spread off Per note Bus
one note (A2) -99 dB -32 dB -32 dB
major chord -61 dB -34 dB -3 dB
four-note cluster -58 dB -33 dB -1 dB

Read the table row by row.

  • With the stage off, a single note is nearly perfectly clean (-99 dB), and a chord stays low (-61 and -58 dB).
  • Per note puts one Spread stage inside every voice. A chord measures the same as one note, about -33 dB. That residual is the chain’s own moving gate edges, not intermodulation.
  • On the bus (the way the Korg minilogue xd’s version works) a chord’s energy mostly lands between the harmonics: -3 dB means that about half of the signal’s energy is not part of any note.

This is the evidence for the choice that shapes Reef: effects that are inside each voice, rather than on the whole sound. It is also why the bus option still exists. It is a legitimate, characterful sound, and you can hear it.

Listen. The same chords with the Spread stage off.
Listen. With Spread per note: wide, and each note keeps its identity.
Listen. With Spread on the bus: the notes interact, and the result is thicker and less clear.

A caveat: the test was designed to reveal the difference, and the bus figure is the worst case. It doesn’t mean the bus setting is wrong for a single line or for a texture where the intermodulation is the desired sound.

Test 3: what does it cost?

A polyphonic synth with effects in each voice can use a lot of processor time. The CPU bench renders patches at 48 kHz and records the fraction of one core they use.

CPU bench results as a bar chart
Four reference patches at 48 kHz, as a percentage of one core.
  • A light patch: about 1% of one core.
  • A typical patch: about 6%.
  • Eight voices with four-voice unison and four bus effects: 17%.
  • The worst case, 4x oversampling with Ocean and four per-note grain effects: 32%.

That tells you what to expect and where the limits are. It also protects against a change that quietly makes everything more expensive. Two further numbers are not part of that bench. The neural FFT Collapse for guitar-to-MIDI costs roughly another 10 to 13% of a core, and Astra, the heaviest of the effects, is the reason it is documented as “two effects at most, best in unison”.

What we check on every build

Beyond those three, the project’s automated builds on Windows and Linux run the tests and a plugin-validation tool (pluginval) at its highest strictness. A failure stops the release.

What numbers can’t do

  • They can’t tell you if a patch is good.
  • They measure the cases we thought of. A real musician will find the case we didn’t.
  • A number that is clean in one place can hide a problem somewhere else: single-precision ADAA, for example, spiked seven times until we found it by rendering signals rather than reading code.

That’s why we publish the tables and the method, and why the chord test and rate audit are in the repository for anyone to run.