Lab notes

Mecate 1.0: a string machine from the schematics

Mecate is out on macOS, Windows, Linux and iPad. How it was built from a service manual and a real unit, and what the recordings caught.

Nine days ago, writing up the Decent Sampler libraries, I said the modelled version of Mecate was on the bench and would take as long as it takes. It took six more days. Mecate 1.0.0 shipped on 19 November, and 1.0.2 is the current build.

  • macOS and Windows: €4.99 on Gumroad (AU, VST3, Standalone on the Mac; VST3 and Standalone on Windows).
  • iPad: €4.99 on the App Store, Standalone and AUv3.
  • Linux: free, forever, on Gumroad. VST3, LV2 and Standalone, x64 and arm64.

DRM-free, no account, no license key, updates free. Demo, no talking, as usual: youtube.com/watch?v=s7nWig75kSg.

Same machine, other end

The Decent Sampler library plays recordings of a 1970s Italian string machine. Mecate computes it. The starting point was the service manual: every sheet transcribed into a circuit, simulated in SPICE, and checked against recordings of the real unit before any of it went near the plugin. The plugin doesn’t run SPICE, which would be a fine way to heat a room. It runs tables and filters fitted to the validated simulations, so what you hear is the circuit’s behaviour, not a set of samples.

That means the hardware’s architecture comes along whole. A top-octave generator and divider chain makes the pitches. Every key has its own cell, so every key you hold sounds, with no voice count and nothing stolen. The brass goes through a four-pole transistor ladder, one per note. The strings go through an ensemble of bucket-brigade delay lines, 185 stages each, clocked the way the chips were.

What the recordings caught

The schematics are where you start. The recordings are where you find out what you got wrong. A short list:

  • The ensemble. My design notes had ruled out one modulation scheme for the chorus. The schematics drew exactly that one: two LFOs, a slow one and a fast one, each split three ways. The recordings then pinned how they reach the strings: Cello’s wobble peaks at 6.15 Hz, Violin’s at 1.54 Hz.
  • String Timbre. My first reading of the sheet joined two pots in the wrong place. A check on the real unit settled it: Timbre acts on the strings and leaves the brass alone.
  • The brass drive. On that sheet the parts are legible and the connections aren’t. So it was measured instead, from twelve takes off the real unit, and fitted: where Contour leaves the filter, how far the envelope sweeps it, how much Emph. pushes. Attack and Decay are the least certain part of the fit.
  • The bass. One transistor turns the left-hand piano pulses into a deep, round bass. Played hard it clips: a single low note swings it 2.4 V, four low notes 5.8 V, and the supply has opinions about that. The recordings were single notes, so they couldn’t show it. The circuit could, and Mecate limits where the circuit does.

One departure is deliberate. On the real unit Violin and Clavichord sit about 20 dB under Piano. In Mecate every voice at full fader is equally loud, so every fader is usable all the way up. Authentic to the circuit, not to the gain staging.

The iPad

A machine where every key has a circuit sounds expensive on a tablet. It isn’t, much. On an M3 iPad Air, at 48 kHz with a 256-sample buffer, a 16-key chord on the Ensemble preset (strings, brass, piano, bass, vibrato and the ensemble all on) uses under 20% of the buffer period. The worst case I could push it to, 88 keys held, every voice up, all seven outputs, stays under 65%, with no late blocks. Older iPads weren’t measured. If yours struggles, tell me.

The rest of the iPad port was the usual. The JUCE version I started on stopped the app at launch on current iPadOS, and the stock audio settings dialog had no way out once open, so Mecate has its own.

Since 1.0.0

  • 1.0.1: the sustain pedal on CC 64. Not the panel’s Sustain, which sets how long notes ring; this one holds released keys until the pedal comes up.
  • 1.0.2: built on JUCE 9, whose security fixes harden how preset files and other data are read. The sound is unchanged.

The hardware’s pedal board and a few of its remaining analog quirks stayed out of 1.0.0. The Decent Sampler library stays free, and stays a different instrument: recordings on one side, circuits on the other.