POPOL VUHManual PDFsDownload allpopol-vuh.comShop

POPOL VUH STUDIO · More guides

EXTERN – a hardware synth as an instrument

Popol Vuh Studio (Mac), version 1.4.0. New in 1.3.0, main way in since 1.4.0: "+ ADD" → EXTERN as its own channel.

At a glance#

EXTERN puts a real, external hardware synthesizer in the place of an instrument plugin – just like Ableton's "External Instrument". Notes go out to your synth via MIDI, its sound comes back in through the audio interface and keeps running through the completely normal channel: inserts, channel strip, sends, fader/pan, WAV recording, LIVE RECORD, MOTION. For TZOLKIN, the keyboard, and the rest of the app, EXTERN is an instrument like any other – except that at the other end there is no plugin, but a cable to real hardware.

Two ways to EXTERN, since 1.4.0:

  1. Main way – own channel: "+ ADD" (tile bar at the bottom, or on the Push the "+ ADD" column in the bank CHANNELS, see chapter "Popol Vuh Studio" and chapter "Using the Push") → choose EXTERN. A new, separate channel is created for the hardware synth; TUNKUL, ITZAMNA, IXIM, and HURAKAN stay unchanged.
  2. Replacement way – replace an existing instrument (the only way up to 1.3.0): button "Channel…" (called "Extern" up to 1.3.0) on the tile of an instrument channel → "Replace … with EXTERN". The instrument in this channel is replaced by EXTERN, and its position in the list stays the same. To go back, use "Channel…" → "Back to …" (the plugin comes back fresh, without its previous settings).

EXTERN exists on the Mac only. On the Android tablet, the MIDI output for it is missing; a project with EXTERN still loads there, but the channel stays without function (see chapter "Tablet").

EXTERN window with the eight controls Tile bar with an EXTERN channel (copper glyph) next to the four instruments

Signal flow / sound architecture#

TZOLKIN track / keyboard / Push pads (MIDI channel of the slot)
        │
        ▼
   ExternInstrument  (sits in the instrument slot like a plugin)
        │  notes, CC, pitch bend, pressure → re-channeled to the chosen CHANNEL
        │  SysEx (PERFORM, KEY, …) NEVER goes out
        ▼
  CoreMIDI output (MIDI OUT) ───────────────▶  real hardware synth
                                                       │ sound
Audio interface  ◀─────────────────────────────────── ┘
        │  chosen input(s) (mono or stereo, IN GAIN ±24 dB)
        ▼
   Channel strip of this slot: inserts, fader/pan, sends, MUTE
        ▼
   MASTER → KINICH → output

Technically, EXTERN is a built-in juce::AudioPluginInstance without a plugin file (ExternInstrument), which the engine puts into an instrument slot via Engine::loadExtern(slot) instead of loading a plugin. That way, everything an instrument normally has keeps working unchanged.

  • MIDI out: Everything that arrives in the slot (notes, CC, pitch bend, pressure) is re-channeled to the chosen CHANNEL and goes to a CoreMIDI output. The timestamps are sample-accurate (host time, fixed lead of 4 ms = kSendLeadMs) and are sent by a dedicated send thread – the audio thread itself only writes into a lock-free queue (lock-free FIFO), never directly into CoreMIDI.
  • No SysEx to the outside: PERFORM, KEY, and other SysEx messages are never passed on to the external output.
  • Optional MIDI clock: 24 ppq plus start/stop to the same output (control Clock), for arpeggiator/LFO sync in the synth.
  • No stuck notes: The send thread keeps track of every note sent that is still sounding. On stop, channel change, port change, PANIC, and on unloading, every still-sounding note gets its note-off, plus sustain off (CC 64 = 0) and "All Notes Off" (CC 123).
  • Audio in: one input (mono) or a pair (stereo) of the audio interface, device channel number freely selectable, up to 64 inputs. Without a chosen input, the channel stays silent; the status line says why.
  • Latency: A control in ms sets setLatencySamples; the engine delays all other channels by exactly that time (as with plugin latency), so the synth sits exactly on the beat. MEASURE sends a test note and finds the onset at the input in engine sample time – that is exactly what has to be compensated.
  • 8 controls = 8 host parameters (values 0–127) that send their CC message when changed. Because they are real host parameters, MOTION records them like any plugin parameter.
  • When loading a project or at startup, EXTERN sends no control values – the sound on the synth stays as it is currently set. Only when you move a control (by hand, on the Push, or through MOTION) does the CC go out.

The interface, area by area#

Creating it as its own channel (main way since 1.4.0)#

  1. Click the "+ ADD" tile at the bottom of the tile bar (on the Push: bank CHANNELS, column "+ ADD").
  2. Choose EXTERN from the selection (next to TUNKUL, ITZAMNA, IXIM, HURAKAN).
  3. The new channel is appended at the bottom of the list, with the copper glyph, full channel strip, 3 insert slots, sends, fader/pan/mute/solo, WAV recording, LIVE RECORD, MOTION, and PERFORM – like any other new channel (see chapter "Popol Vuh Studio", section "Channel list").
  4. If EXTERN is not available on this platform (e.g. tablet), the row in the selection is grayed out as "(not available here)".

This way leaves the four instruments untouched – an additional, separate channel is created.

Replacement way: replace an existing instrument#

  1. Click the tile of the instrument channel (e.g. ITZAMNA).
  2. Top right on the tile, "Channel…" (called "Extern" up to 1.3.0) → "Replace ITZAMNA with EXTERN".
  3. Back to the plugin: "Channel…" again → "Back to ITZAMNA" (alternatively Unload/Load). The plugin comes back fresh (without its previous settings).

This way replaces the instrument at its position in the channel list – no additional channel is created (unlike "+ ADD"). EXTERN only fits into an instrument channel (slot 1–16, never TZOLKIN). If the app tries to load EXTERN anywhere else, the error message "EXTERN only fits an instrument channel" appears (up to 1.3.0: "EXTERN only fits an instrument slot (TUNKUL, ITZAMNA, IXIM, HURAKAN)" – the wording was simplified with the channel list, the meaning is the same).

Header line#

  • Title – the display name (NAME, see below), otherwise "EXTERN".
  • Status line – one line that summarizes what is going on right now: position in the channel list (e.g. "channel 6 · …", since 1.4.0 – up to 1.3.0 "slot n"), MIDI output chosen/missing, audio input state, channel. If something yellow/warning-colored appears here, no sound is coming (yet).
  • Input level meter – small bar, shows the level at the chosen audio input.

NAME#

Free-text field. What the synth should be called, e.g. "MINILOGUE". This name appears in the Mixer, on the tile, and on the Push. If left empty, the app shows "EXTERN".

MIDI OUT#

Dropdown with all available CoreMIDI destinations (USB MIDI, MIDI interface, IAC bus). The app's own Push port is filtered out of the list (names that contain "Push" + "Live Port"/"User Port" – that belongs to the app itself). Next to it, the ↻ (refresh) button: searches for outputs again, e.g. if you only plugged in the synth just now. If the port you chose last is missing at the moment (device off, different computer), it stays in the list as " (missing - kept)" – the setting is not lost.

CHANNEL#

MIDI channel 1–16 on which the synth listens. The app re-channels everything that arrives in the slot to this channel.

Clock#

Toggle. Sends MIDI clock (24 ppq) plus start/stop to this output, for arpeggiator, LFO sync, or the sequencer in the device itself. Important: do not additionally choose the same port under the audio settings as the global "MIDI clock out", or the clock will arrive twice. If two EXTERN instances are on the same port, check Clock on only one of them. If Clock is switched on mid-run, the synth joins at the next 1/16 (song position + continue); when switched off, a stop is sent.

Panic#

Button. Sends a note-off for every still-sounding note, plus sustain off and All Notes Off (CC 123) – all notes of this synth off immediately.

AUDIO IN#

Dropdown with the inputs of the currently chosen audio interface: "Stereo x/y" (a pair) or "Mono x" (a single channel), each with the device names of the channels behind it. Up to 64 inputs are available. Which device serves as the input at all, you set in the audio settings – since 1.3.0 that is also where the inputs are (before, only outputs). The app opens the inputs it needs by itself; the chosen output remains unaffected. Without an input: "— none (silent) —", the channel stays silent.

IN GAIN#

Slider, input level ±24 dB. Next to it, the live level meter.

LATENCY#

Slider 0–250 ms (at 96 kHz at most 125 ms, see kMaxLatencySamples). Shows how long it takes from the MIDI note to the sound at the input; the app delays all other channels by exactly that time, so the synth sits exactly on the beat.

  • Measure – measures the latency itself: sends a C4 three times (three rounds, with pauses) and listens at the chosen input for the first onset above the noise threshold. The result is the median of the three measurements, and it is applied automatically. For a clean measurement, choose a short, percussive sound on the synth and don't let anything else play. If no onset arrives within 1 second, the round does not count; if there is no valid round at all, the app shows "no signal at the input" (check cable, input, and volume on the synth).

KNOBS#

Eight rows, one for each control:

  • CC – the MIDI CC number of this control (inc/dec field, 0–127).
  • Name – own name (freely editable); if left empty, it shows the default name of this CC number, otherwise "CC n".
  • Value – rotary control 0–127, directly adjustable; it also follows along when the value is changed on the Push or through MOTION.

By default, the eight controls are assigned like this:

Control Default CC Default name
1 74 CUTOFF
2 71 RESO
3 73 ATTACK
4 72 RELEASE
5 1 MOD WHEEL
6 7 VOLUME
7 10 PAN
8 91 REVERB

The default values when created are 64, 0, 0, 64, 0, 100, 64, 0 (in this order).

Parameter reference#

Name (UI) Range/values Default Effect Tip
NAME free text, up to 14 characters (internally dispName) empty → "EXTERN" display name in Mixer, tile, Push keep it short, it also appears small on the Push display
MIDI OUT CoreMIDI destinations of the computer no output chosen destination for all notes/CC/clock the own Push port is not offered
CHANNEL 1–16 1 (or the default channel of the slot) MIDI channel to which everything is re-channeled must match the receive channel set on the synth
Clock on/off off MIDI clock 24 ppq + start/stop to MIDI OUT do not also choose it as the global "MIDI clock out"
Panic button – all notes of this synth off immediately also reachable via the Push button PANIC
AUDIO IN inputs of the interface, mono/stereo, −1 = none no input return path of the sound into the channel strip "none" = channel stays safely silent, no noise
IN GAIN −24 … +24 dB 0 dB level of the audio input match to the output volume of the synth
LATENCY 0–250 ms (96 kHz: max. 125 ms) 0 ms delays all other channels by this value better use Measure than guess
Measure button – measures latency automatically (3× C4, median) percussive sound on the synth, nothing else plays along
Controls 1–8 (KNOB) 0–127, each with its own CC number 64/0/0/64/0/100/64/0 (CC 74/71/73/72/1/7/10/91) sends CC to the synth on change; MOTION-capable change the CC number via the "−/+" field, assign the name yourself

Error message when trying to load EXTERN into a wrong slot: "EXTERN only fits an instrument channel" (up to 1.3.0: "EXTERN only fits an instrument slot (TUNKUL, ITZAMNA, IXIM, HURAKAN)"). If the installation fails for any other reason: "EXTERN could not be installed".

On the Push 3#

EXTERN is reachable like any other instrument: via the lower Mixer button of its column, via the tile in the window, or via USER/LOCK (back to the instrument played last). For this, EXTERN has its own app page (ExternPush) – the hardware synth itself has no Push integration of its own. In the navigator of the plugin pages (LOCK on a plugin page), EXTERN does not appear, because it is not a real plugin.

Push display of the EXTERN page: 8 controls, name, status line, pads
Push display of the EXTERN page: 8 controls, name, status line, pads

Display layout#

  • At the top, one for each of the eight columns: CC number (small), name, current value (large), below it a fill bar in the color of the slot.
  • Middle: the EXTERN glyph (since 1.4.0: "knot" – two cartridges connected by a braided cable, the plug goes into the socket, color copper; up to 1.3.0 a simple MIDI socket symbol), display name, line "channel n · was · pads in key/chromatic · oct n" (up to 1.3.0 "slot n"), to the right of it the status line (MIDI output/input) and the latency line including the measurement result. A short overlay (setFlash, 2 seconds) shows feedback such as "OCTAVE +1" or "MEASURED 16.0 ms – applied".
  • At the bottom, per column: the label of the lower button row.

Pads#

The pads play the hardware synth directly:

  • IN KEY (default): key follows the global GLOBAL KEY (off = C major), rows a fourth apart (as in Ableton).
  • CHROMATIC: semitones, rows +5.
  • The root note lights up in the color of the slot, the rest of the scale gray, pressed pads white. In CHROMATIC, notes outside the scale light up dimly (value 6), but they are there.
  • Pads also go into LIVE RECORD if the TZOLKIN track of this slot is armed.
  • Pressure/aftertouch of the pads is (as of 1.3.0) not yet passed on to the synth.

Controls 1–8#

The eight CC controls, name/CC/value on the display. Touching a control counts as a gesture (MOTION: the hand wins as long as the finger rests on it).

  • SHIFT + control – changes the CC number of this control (two detents per turn step); the name follows the default meaning of the new CC number, unless you have assigned your own name.

Upper button row (1–8)#

Sends the CC message of this control again, with the currently displayed value – useful to bring the synth to the displayed state after loading a project (which sends no CC) or after a switch.

Lower button row (1–8)#

Button Function
1 OCT − (octave down)
2 OCT + (octave up)
3 toggle IN KEY ↔ CHROMATIC
4 CLOCK on/off
5 PANIC – all notes off
6 MEASURE – start latency measurement
7 STRIP – channel strip of this slot
8 MIXER – back to the Mixer page

The octave ranges from −3 to +4 (limited). When the octave changes, held pads are released beforehand (no stuck notes).

Other global buttons on this page#

  • OCTAVE ▲▼ (hardware buttons) – same function as lower buttons 1/2.
  • DEVICE – channel strip (DEVICE there goes back).
  • LOCK / STOP CLIP – back to the Mixer.
  • SHIFT + LOCK – effect chain of this slot.
  • PLAY, RECORD, TAP TEMPO, METRONOME, SHIFT remain the global transport everywhere; master control/jog wheel remain tempo (see chapter "Using the Push").

MOTION#

The eight controls are normal automation targets. With an armed TZOLKIN track: turn controls during PLAY, press RECORD → the movement runs along in the loop and is sent to the synth as a CC ramp. If you touch a control during playback, the hand wins (as with the plugin controls).

Saving#

The project contains: port (by ID and name), channel, input, input level, latency, clock state, display name, and the complete CC assignment (number, value, own name per control) – as an <EXTERN> block with child elements <KNOB>.

  • If the port is missing at load (different computer, synth switched off), the setting is kept; the window shows "missing - kept". If the synth joins later (same ID), the app finds it again by itself within about one second. On a different Mac (different ID), it is found again via the saved name.
  • New leaves EXTERN in the slot (port/input are kept), only the eight controls jump back to their default values.

Recipes#

1. Using a hardware synth as its own channel 1. "+ ADD" (tile bar or Push bank CHANNELS) → EXTERN – or, to replace an existing instrument: click the tile of the instrument channel → "Channel…" → "Replace … with EXTERN". 2. In the window: enter NAME, choose MIDI OUT (↻ if needed for newly connected devices), set CHANNEL to the receive channel of the synth. 3. Set AUDIO IN to the inputs the synth is connected to. Set IN GAIN roughly right. 4. Stop the transport, choose a short percussive sound on the synth, press Measure. 5. Play via keyboard, Push pads, or a TZOLKIN track on the chosen MIDI channel.

2. Fine-tuning latency by hand 1. Let a rhythmic start project run. 2. Listen whether the synth sits exactly on the beat. 3. Adjust LATENCY in 1 ms steps until it fits. Note the value in case the Measure result and your ear differ.

3. Syncing a synth via MIDI clock 1. Check Clock in the EXTERN window (or lower Push button 4). 2. On the synth, set the arpeggiator/sequencer to external clock. 3. PLAY/STOP in the app controls the synth too; tempo changes follow automatically. 4. Don't additionally choose the same MIDI port as the global "MIDI clock out".

4. Recording control movement (MOTION) 1. Arm the TZOLKIN track of this slot (SHIFT + RECORD). 2. PLAY, and turn the desired control during playback. 3. Press RECORD to commit the recording – the movement now runs along as a CC ramp.

5. Playing EXTERN against an IAC bus test signal (without real hardware) 1. In "Audio MIDI Setup" → MIDI Studio → IAC driver → check "Device is online". 2. Start a software synth that listens to the IAC bus. 3. In the EXTERN window, choose MIDI OUT = IAC bus. TZOLKIN now plays the software synth the same way as real hardware.

6. Switching back to the plugin (replacement way only) 1. "Channel…" → "Back to " (or Unload/Load). 2. The plugin comes back fresh; the EXTERN settings (port, channel …) are not kept for the next switch, because the channel is reassigned. An EXTERN channel created via "+ ADD" has no "Back to …" – it can only be removed again via "Remove channel…" (confirmation).

7. Several inputs on a large interface 1. With 8+ inputs, connect the synth to inputs 7/8, for example. 2. Set AUDIO IN to "Stereo 7/8". 3. Works regardless of how many other EXTERN instances already occupy inputs.

Tips and pitfalls#

  • Microphone permission required: On first start, EXTERN needs macOS permission for the "Microphone" (that is, for audio inputs in general) – without this permission, only silence comes from the audio interface, even though everything seems set correctly.
  • Silence without an input is normal: No input chosen, no interface, or the input does not exist on this device – in all three cases the channel simply stays silent, and the header line says why. This causes no crash.
  • 4 ms lead is part of the latency: The MIDI timestamps are set 4 ms ahead (more even timing, also for the clock). These 4 ms are part of the measured latency and are compensated too – if you play live on the pads, the sound arrives slightly later than you might expect.
  • Don't activate clock twice: Choosing the same MIDI port as both the EXTERN clock and the global "MIDI clock out" sends the clock twice.
  • Two EXTERN on the same output: Check Clock on only one of the two instances.
  • Measure needs quiet: For a valid measurement, nothing else may play at the same time, and the test sound on the synth must be short and percussive. "no signal" means: nothing arrived at the chosen input – check cable, input selection, and volume on the synth.
  • CC reception often has to be switched on at the synth separately: Many hardware synths have to enable "receive CC" in their own global menu first, otherwise the sound does not react to the controls even though the app sends the CC correctly.
  • No crash when unplugging: Unplugging the interface mid-session makes EXTERN go silent (the header line explains why); after plugging it back in and choosing it in the audio settings, it continues without reloading.
  • Android (not yet) without EXTERN: No CoreMIDI output on the tablet – EXTERN is "not available" there (audio input and saving still work, a project with EXTERN can be opened).

Quick reference#

Window: NAME · MIDI OUT (+ ↻) · CHANNEL (1–16) · Clock · Panic · AUDIO IN · IN GAIN (±24 dB) · LATENCY (0–250 ms) + Measure · 8× KNOB (CC, name, value 0–127)

Own channel: "+ ADD" → EXTERN (tile bar or Push CHANNELS) Replacement way: tile → "Channel…" → "Replace … with EXTERN" / "Back to …"

On the Push: - Pads: play the synth (IN KEY/CHROMATIC) - Controls 1–8: CC values · SHIFT + control: change CC number - upper buttons 1–8: send CC again - lower buttons: 1 OCT− · 2 OCT+ · 3 IN KEY/CHROMATIC · 4 CLOCK · 5 PANIC · 6 MEASURE · 7 STRIP · 8 MIXER - OCTAVE ▲▼, DEVICE (channel strip), LOCK/STOP CLIP (Mixer), SHIFT+LOCK (chain)

Default CC assignment: 74 CUTOFF · 71 RESO · 73 ATTACK · 72 RELEASE · 1 MOD WHEEL · 7 VOLUME · 10 PAN · 91 REVERB