WORKSHOP INTERMISSION We’re taking a short break for something rather important. We’ll be back soon! Read more →

Behind the Scenes – Twin Peaks Eiger-Mönch VST3 – Part 2 – How It Works

Not a Delay That Sounds Like Ours

You know that feeling when a plug-in almost sounds like the pedal. Almost. We didn’t want almost.

So instead of building a delay and tweaking it by ear until it came close, we took the Twin Peaks circuit itself, every resistor, every capacitor, every op-amp, and taught the computer to play it. The plug-in runs the pedal’s circuit as equations, tens of thousands of times a second, and we checked it against the real thing every step of the way.

Grab a coffee. This one is for the curious.

From Schematic to Code

Everything starts with the schematic, the map of every part in the pedal and how they connect. A clean input, two delay lines each built around a PT2399 chip with its own filters, the Echo paths that send the repeats back around, a mixer, and the Level control at the end.

Twin Peaks Eiger-Mönch VST3 – How It Works-schematic-to-sound

Cut Into Six Pieces

A whole circuit is a lot to solve in one go, so we cut it where it can be cut without changing a thing: at the op-amp outputs, which don’t mind what they drive. That leaves six neat pieces.

The toggle on the pedal moves wires between those pieces. In the plug-in it swaps which pieces are playing, and the capacitors keep their charge as it does, just like in the real circuit. Flick it mid-phrase and nothing pops.

One Equation per Capacitor

Every capacitor gets its own equation, describing how its voltage changes over time. That is the language circuit simulators speak, and it is exactly what the plug-in solves.

Solved Exactly, Every Sample

Many plug-ins use a handy shortcut to turn analog filters into digital ones, and the shortcut bends the top end a little. We skip it and solve the equations exactly, sample after sample, at 88.2 or 96 kHz inside the plug-in. The highs stay right where the circuit puts them.

Knobs That Feel Like Knobs

Turning a knob changes the circuit. So the plug-in works out the circuit for hundreds of positions of every knob before you play, and glides between them as you turn. Because it moves real capacitor voltages, nothing jumps or clicks. Same as on the pedal.

Checked Against SPICE

SPICE is the circuit simulator electronics engineers turn to when they want to know exactly what a circuit does. So we ran the pedal’s circuit through it and laid the plug-in on top.

From the input jack to the output jack, each delay line lands within a quarter of a decibel of SPICE from 20 Hz to 16 kHz, at any sample rate. That is far below anything an ear can hear.

The graph also shows the two voices of the pedal. Eiger lets the highs go early and keeps the body: the warm line. Mönch holds on to its upper mids and highs much longer: the bright line. Same chip, same delay range, different filters around it.

Twin Peaks Eiger-Mönch VST3 – How It Works-plugin-vs-spice

The Heart: Two PT2399s

The PT2399 is a whole echo in one chip. Inside, it turns the audio into a one-bit stream, stores 44,000 bits of it in memory, and reads them back later. A clock inside the chip sets how fast the memory is written and read, and one resistor sets that clock. On the Twin Peaks, the Rate knob is that resistor.

From Rate to Milliseconds

The chip’s datasheet gives the delay for 28 resistor values, from 31 ms with a 22 MHz clock to 342 ms at 2 MHz. The plug-in follows that table and continues along its slope above 342 ms, where the Rate knob goes further than the table. Each line runs from 54 ms to 624 ms, with the knob at noon giving 338 ms.

Twin Peaks Eiger-Mönch VST3 – How It Works-delay-law

In our tests the delay lands on the law exactly, at every Rate position and every sample rate.

The Pitch Bend

Turn Rate on a PT2399 while repeats are still ringing and they bend in pitch. The audio already in the memory is read back at the new clock speed, faster or slower than it was written.

The plug-in does the same thing for the same reason. Every sample that goes into its chip model is stamped with the clock’s position at that moment, and read back when the clock reaches the right point again. Step Rate from noon down to a quarter, and the last 338 ms of audio play back 1.685 times faster: exactly the ratio of the two clocks. No crossfade, no trick. Just the clock.

The Grit

A PT2399 is not a clean digital delay, and that is half its charm. The one-bit stream is made by a delta modulator: a comparator that only ever says “higher” or “lower” than last time. At a fast clock that is fine. At a slow clock, for long delays, the steps get coarser and the repeats get grainier.

The datasheet gives that distortion for every row of its table. The plug-in runs its own delta modulator, one bit at a time at the chip’s real bit rate, from 808 kHz at the shortest delay down to 70.5 kHz at the longest. Its distortion plus noise follows the datasheet within 7 % at every row but one (52 ms, where the table itself jumps, +11 %), and keeps rising along the table’s trend to 1.95 % at 624 ms.

Twin Peaks Eiger-Mönch VST3 – How It Works-grit

Three more things come with the chip:

  • The top end closes as the delay grows. The chip’s output filter follows its clock, from 46.8 kHz at 54 ms down to 4 kHz at 624 ms. Long repeats are darker, as they should be.
  • The noise. Set from the datasheet’s -90 dBV, it measures -89 to -92 dBV A-weighted, depending on the delay. Quiet, but there, like on the pedal.
  • Headroom. Push the chip too hard and it saturates, at the levels published for the chip.

Our brief for the grit was simple: realistic and musical, no crazy crush, just low decay. The modulator’s error is slightly larger on quiet signals, so as the repeats fade, they turn gently grainier. Low decay, no crush.

Repeats That Ring Out

On the Twin Peaks, Echo at maximum takes you right to the edge of oscillation without ever tipping over. The plug-in does the same. Every repeat comes back about 3 dB quieter than the one before, so a single note keeps echoing for some twenty repeats before it melts into the noise. Your dry signal and the first repeat stay exactly as the pedal gives them.

Twin Peaks Eiger-Mönch VST3 – How It Works-repeats-over-time

In Parallel, each line repeats itself at its own pace. In Cascade, each line feeds the other, so every echo goes through Eiger, then Mönch, then Eiger again. A round trip through both lines loses about 10 dB, so Cascade fades sooner, but it fills the space between the beats with a pattern that keeps moving.

Why Each Repeat Sounds Rounder

Every trip round the loop goes through the line’s filters again. The lows and the highs lose a little more each time, and the repeats close in on the middle of each line’s band: about 460 Hz for Eiger, about 1.3 kHz for Mönch. The first repeat is wide and full. By the tenth, it is a soft, round echo of the note. That is the sound of the pedal fading into the distance, and it comes straight from the circuit.

Twin Peaks Eiger-Mönch VST3 – How It Works-repeats-in-frequency

Stable, Light, Tested

It never runs away. We ran 24 stress tests, 60 seconds each: Echo at maximum, both modes, Rate at both ends. Not one invalid sample, and every tail died away into the chip’s noise. Push the input hard and the op-amps clip at their supply rails, like the real ones.

It is light. All that circuit, solved sample by sample, takes 1.7 to 1.9 % of one processor core on a recent laptop, Echo and Rate at maximum on both lines.

It is tested for the road. The plug-in passes Steinberg’s own VST3 validator and pluginval at its strictest level, and we checked by hand in Reaper, Cubase and Studio One. Its output is bit for bit the same as our offline engine, the one all the graphs above come from.

That Is How It Works

A circuit solved, not guessed.

Two PT2399s, modelled from their datasheet.

Within a quarter of a decibel of SPICE.

Repeats that ring like the pedal’s.

Under 2 % of one core.

Original circuit. Real pedal tone. Now in your DAW.

That is how the Twin Peaks Eiger-Mönch VST3 works.