Chapter 13

Audio: mixer, instruments and VST3

Overview

Every time a point of your geometry crosses the detection line, GeoMusica fires a trigger: a note with a pitch, a loudness and a length. A trigger makes no sound on its own: it has to be handed to something that can play it. That is what the Mixer is for. Read this page and you will be able to add a voice, choose the instrument it plays, point a layer at it, balance the result and get it out of your speakers cleanly.

The Mixer is built from channels. A channel is one voice in the mix: a narrow strip of controls that takes notes in at the top and puts sound out at the bottom. There are two kinds, and they sit side by side in the same panel.

  • A Csound channel plays one of the twenty-eight instruments built into GeoMusica. Nothing to install, nothing to buy. (Csound is the open-source sound engine the app carries inside itself; you never have to see it or learn it.)
  • A VST channel plays plugins: instruments and effects made by other companies, in the VST3 format, which you install on your computer yourself. GeoMusica finds them in the folders where plugins normally live.

Whatever the kind, every channel feeds the same two shared effect buses, called returns, and then the master: the single output that everything passes through on its way to your headphones, speakers or audio interface.

If you know Ableton Live: channels are tracks, returns are return tracks, the master is the master. The difference is where the notes come from: geometry rather than a clip of MIDI.

The Mixer

The Mixer in the bottom dock: four Csound channels, Return A and B, Master, and the detail area for the selected channel with the instrument buttons and its parameters
The Mixer: channel strips, returns, master, and the selected channel's instrument and parameters.

Press M to open the Mixer in the bottom dock: the panel that slides up from the bottom of the window. The Mixer and the Visual Mixer share that space: opening one closes the other, and V opens the Visual Mixer. Press M again to close the dock.

The Mixer is laid out left to right: the channel strips, the detail area for whatever is selected, then the two returns and the master. Click a strip and its innards appear in the detail area; that is where you choose the instrument and shape the sound.

Two buttons add channels:

  • + Csound: a new channel that plays one of the built-in instruments.
  • + VST: a new channel with plugin slots.

To remove the selected channel use Edit → Delete Channel (or the Delete key, or the Delete button at the foot of the panel). You are asked to confirm, and the deletion can be undone.

Try it: press M, then + Csound. Click the new strip, pick Bell in the detail area, and switch that channel on in the layer’s MIXER card (see Routing a layer to channels). Press Space. Your shape should now ring like a small bell once per vertex, per turn.

The channel strip

The strip is the part of a channel you can always see, whatever it is playing. It is the same handful of controls every time, so it is worth learning once.

The fader is the tall sliding control that sets how loud this channel is, measured in dB (decibels: the usual unit for loudness; 0 means “as recorded”, negative numbers are quieter). M stands for mute: it silences this channel. S stands for solo: it silences every other channel, so you can hear this one alone. Solo is the fastest way to find out what a channel is actually contributing.

ControlWhat it does
Name buttonselects the channel; shows the channel number and, when there is one, the instrument or plugin name
Faderchannel gain in dB. Double-click returns it to the default
Number boxthe same gain as a typed value
Meterpost-fader level, with a peak readout
Mmute this channel
Ssolo this channel

The meter is the moving bar beside the fader; it shows the level after the fader, so it tells you what is really leaving the channel. The peak readout remembers the loudest moment.

Right-clicking the fader offers Open in Curve Editor, which arms that gain as an automation lane in the Arrangement: a drawn line that moves the fader for you over time, so the channel can fade in and out as the piece goes.

Selecting a strip fills the detail area next to it. What appears depends on the channel’s engine.

Csound channels

Under Csound instrument you get a grid of buttons: None plus the twenty-eight instruments. None is a real state, not an absence: the channel exists, keeps its fader, mute, solo and routing, and makes no sound of its own.

Below the grid, up to thirteen sliders show the parameters of the chosen instrument: the knobs that shape its tone. They change with the instrument, because a bell and a bass line need different controls. Don’t be shy with them: right-click gives you the way back.

Right-click a parameter slider for:

  • Assign note modulation (or Remove note modulation when one is already assigned): lets the incoming trigger’s own note drive that parameter, so higher notes (for instance) sound brighter or shorter without you touching anything. A small M badge marks a modulated parameter.
  • Reset to default
  • Open in Curve Editor

VST channels

Under VST channel slots you get the plugin chain for this channel. See VST3 plugins.

The built-in instruments

These twenty-eight are the quickest way to hear what your geometry is doing, and several of them are the whole sound of a finished piece. They all take their pitch from the trigger’s own frequency, which matters more than it sounds: your geometry rarely lands on the twelve notes of a piano, and these instruments follow it exactly wherever it goes, with no tuning to set up.

Skim the table for a character that suits the shape you are building, then open its sliders and push them about.

InstrumentCharacter
BellFM bell: an immediate strike with a long, inharmonic, crystalline ring. Shimmer, warble and inharmonicity controls take it from glassy to metallic
Harpplucked string (Karplus-Strong). Pluck position, damping and string resonance give anything from a hard pluck to a soft nylon tone
DX7Rhodes-style electric piano, built against a real Rhodes: piano-like decay with no sustain plateau, a tine tick and a hammer thunk in the attack, and velocity that opens the brightness rather than only the level
Dripa water drop, built against a recording: a bright impact tick, then a nearly pure tone that rises and dies fast. One note is one drop
303acid bassline: saw or square through a resonant filter with envelope modulation, drive and glide between notes
Hanghandpan. Modal synthesis with strike hardness and position, long resonance and a shimmer of beating between modes
Barsstruck metal bars. Inharmonic partials whose spread follows a material control, from soft metal to hard, with a shimmer
Sinea pure sine with detuned unison and slow modulation: soft, wide, tape-warm
Kalimbaplucked lamella: modal, with a rigidity control for the metal’s stiffness and a light shimmer
Marimbastruck wooden bar: modal, with stick hardness, strike position, brightness and a touch of vibrato
Kicktuned 808-style kick, pitched to the incoming note: a pitch sweep into a body, with punch, drive and tone
Snaretuned 808-style snare: a tonal component plus noise, with a snappy control for the noise’s amount and sharpness
Hatstunable 808-style hi-hats: metallic oscillators against noise, with a tone tilt and a short decay
Tablamodal tabla with two modes, bayan (bass) and dahina (treble), a palm-slide pitch bend and a syahi control that detunes the modes
Monomono bass: cutoff, resonance and envelope modulation, with drive, a sub level, detune and glide between notes
FMBassFM bass: ratio and index with an index envelope, a transient, a sub level, drive and glide
Subsub bass: a drop in semitones with its own time, drive, a crossover, a tone control, a click and glide
Vibesvibraphone: hardness, position, brightness and damping, a tremolo with rate and depth, and beating
Tubulartubular bells: hardness, position, brightness and damping, with beating and a hum control
Woodwoodblock: hardness, position, brightness and damping, a mode control (block, temple, log) and a cavity control
Shakershaker: a model control from maraca to bells, with beans, decay, tone and a rate control (0 is a single shot)
Gonggong and bowl: hardness, position, brightness, damping and beating, a mode control from gong to bowl, and a rub control
Cowbell808-style cowbell: decay, sustain and tone, with metal and agogo controls
Rim808-style rim and claves: a morph control from rim to claves, with decay, tone and drive
Toms808-style toms: decay, sustain, sweep and tone, with a control from conga to tom
EBasselectric bass: pick position, tone, decay, body and damp
Airair winds: a family control from flute to shakuhachi, with breath, chiff, vibrato depth and rate, brightness and attack
Reedreed winds: a family control from clarinet to sax, with breath, drive, vibrato depth and rate, brightness and attack

Try it: add two Csound channels, give one Hang and the other Kick, and switch both on for the same layer. One shape, two voices at once: a pitched body and a pulse. Then mute the Kick channel with its M and listen to how much it was holding together.

VST3 plugins

The Mixer with a new VST channel selected: Enable chain, Param Learn, the empty VST channel slots with Add plugin…, and VST details
A freshly added VST channel: no plugin yet, one Add plugin… slot, and the VST details area.

A plugin is a piece of software made by somebody else that either produces sound (an instrument) or changes sound that passes through it (an effect). VST3 is the format GeoMusica reads. You buy or download plugins yourself and install them where the maker says; GeoMusica then finds them.

A slot is one place in the channel where a plugin can sit. A VST channel has eight plugin slots; a return or master FX chain has four. Slots run in order, top to bottom, and can be dragged to reorder. Order matters for effects: a distortion before a reverb sounds nothing like a reverb before a distortion.

The slot list is grouped by role:

  • INSTRUMENTS: a patch bank: the header says patch, because only one instrument plays at a time. You can keep several loaded and switch between them.
  • FX: the header says in series: every enabled effect processes what the one above it produced.

Each slot row carries:

ControlWhat it does
Plugin pickerchoose a plugin, or (None) to empty the slot
Power doton an instrument slot, Patch: is this loaded slot the one that plays?
MIDI dotReceives the trigger MIDI (first active instrument): it marks the one instrument the layer’s notes go to
BBypass: the plugin keeps running and passes audio through
UIopens the plugin’s own editor window

Bypass is worth a sentence of its own: it takes the plugin out of the sound without unloading it, so you can hear the before and after instantly and put it back with one click. It is the first thing to reach for when a channel sounds wrong and you don’t know why.

Below the slots, Add plugin… adds one, and Enable chain switches the whole chain on and off.

Scanning

Settings → VST → Rescan VST3 plugins… rebuilds the list. Do this once after installing new plugins, and whenever one you own is not offered in the picker.

The scan runs in a separate process, so a plugin that crashes on load cannot take the app with it; a plugin that fails to load is blacklisted and skipped from then on. The System Check reports how many VST3 files were found, how many plugins loaded, and names anything blacklisted.

Some third-party plugins show their own error dialogs when they are instantiated, not when they are scanned. Those appear inside GeoMusica; close the dialog and tell us which plugin it was.

Copy-protected plugins (PACE / iLok) work on macOS.

Plugin editors and Parameter Learn

UI on a slot opens that plugin’s own editor in a floating window: the knobs and screens its makers designed, exactly as they look in any other program. Plugins without an editor of their own get a generic list of parameters. The window can stay open while you work; closing it does not change the plugin.

Param Learn is how you let GeoMusica move a plugin’s controls for you, instead of reaching over to the plugin window by hand. It connects a plugin parameter to GeoMusica’s own automation and modulation.

Press it (the button reads Learning…), then move the control you want in the plugin’s editor. The parameter is captured and appears under VST details, where each learned parameter gets an M toggle (note modulation on or off) and an x to remove it. Four parameters can be learned per slot; No learned parameters is what the panel shows before you learn any.

Try it: open a plugin’s editor, press Param Learn, and turn its filter cutoff. The parameter appears under VST details. Switch its M on and play: the cutoff now follows the notes your geometry makes, brightening as the shape climbs.

Plugin state (the patch loaded in every slot, and everything you changed inside the plugin’s own editor) is saved inside the project file and comes back when you reopen it.

Returns and master

A return bus is a shared effect. Instead of putting a reverb on six channels, you put one reverb on a return and let the channels feed it, which sounds more coherent and costs the machine far less. The master is the last stop: everything that made a sound arrives there before it reaches your ears, which makes it the right place for a final level and for anything that should treat the whole mix at once.

Two return buses, Return A and Return B, sit to the right of the channels. Each has a name button that selects it, a fader, a number box, an M mute and a meter.

Master sits at the far right: a fader, an M mute, a meter, and a CPU load bar along the bottom edge showing how much of the audio budget the engine is using. Keep an eye on that bar: it is the honest answer to “is my machine coping?“.

Clicking a return’s name or the Master title opens its FX chain in the detail area, headed Return 1 FX Chain, Return 2 FX Chain or Master FX Chain, with the same four plugin slots, the same Enable chain toggle and the same (none) picker as a channel chain.

Routing a layer to channels

Routing is the connection between the picture and the sound: it says which voices play a given shape. Nothing is heard until you make it, so this is the card to check first when a layer is silent.

A layer’s audio goes to the channels chosen in the layer’s MIXER card, in the geometry column. The card is headed Layer destinations and holds one toggle button per mixer channel, labelled with the channel’s number and name. Switch on as many as you like: the layer’s triggers are played by every channel you select, so the same geometry can drive a Csound instrument and a VST at once.

Layer Link has its own destinations, chosen the same way when Layer Link is the selected editor target.

The channel strip’s Layer route picker is the same relationship seen from the channel’s side.

Audio settings

Two menu entries, with different jobs. The first one is about your hardware; the second is about how hard the engine works. If you have only now installed GeoMusica, the first is the one you want.

Settings → Audio Driver… opens the device window: driver type, output device, sample rate, buffer size, and a test tone. The sample rate is how many times a second the sound is measured (44100 and 48000 are the usual choices; higher costs more and changes very little). The buffer size is how big a bite of sound the computer prepares at a time: small bites react faster but ask more of the machine. GeoMusica is output-only, so there are no input or MIDI lists here. Closing the window stores your choice.

Try it: press the test tone. If you hear it, the device is right and any silence afterwards is somewhere inside the app: start at Routing a layer to channels. If you hear nothing, it is the device, and nothing else on this page will help until it is fixed.

Settings → Audio… holds the engine’s own settings. You can ignore all three until something crackles or the CPU bar runs hot.

SettingOptionsWhat it does
Csound ksmps32, 64, 96, 128the Csound control block size. Higher values reduce CPU pressure and dropout risk, but lower Csound’s control and event resolution. Changing it restarts the audio engine, and the dialog shows the currently active value
Plugin Delay CompensationEnabled, Disabled (debug)keeps channels aligned when a plugin reports latency. Leave it enabled
Parallel Channel RenderingOff (sequential), On (n worker threads)renders channels on several threads. On Windows it is marked experimental; where the machine cannot support it the option reads Unavailable

Apply commits; Cancel leaves everything as it was.

Platform notes

  • Windows: prefer an ASIO device if you have one. The default WASAPI device works.
  • Linux: JACK (PipeWire provides it) gives the lowest latency; the default ALSA device also works. For realtime priority, install realtime-privileges and add your user to the realtime group, then log out and back in. The System Check offers an Enable realtime audio button that does this for you.
  • macOS: the built-in device works with no setup.

Latency and CPU

Latency is the delay between something happening and you hearing it. Dropouts are the clicks and crackles you get when the computer cannot keep up. The two pull against each other: almost everything that lowers one raises the other, and the craft is in finding the balance your machine can hold.

Four things decide how the engine feels:

  • Buffer size (Audio Driver…): the biggest lever. Smaller means lower latency and more risk of dropouts.
  • Csound ksmps (Audio…): the control rate inside the sound engine. Raise it when the CPU is the problem and you can live with coarser control resolution.
  • Parallel Channel Rendering (Audio…): spreads channels across threads on a machine with cores to spare.
  • Plugin Delay Compensation (Audio…): plugins that report latency make GeoMusica delay the other channels to match, so everything stays in time. The cost is that the whole mix is delayed by the largest reported latency; a heavy linear-phase plugin can add a lot.

Tip: change one of these at a time and listen. Changing three at once tells you nothing about which one helped.

The master strip’s CPU load bar is the fastest way to see whether you are close to the limit. The System Check measures late audio callbacks over two seconds and tells you when the buffer is too small.