# Mixer and routing

Routing, sidechain sends, groups and the multi-channel port model in Zene Studio.

Source: https://zenestudio.org/docs/audio/mixer-routing

Markdown version of the Zene Studio page at https://zenestudio.org/docs/audio/mixer-routing. For a map of the whole site, see
https://zenestudio.org/llms.txt.

---
The mixer is where audio is routed, summed, measured and mastered. Zene Studio's model is a **graph**,
which is more flexible than a fixed set of channel slots and more demanding to understand.

## Channels

There is **no fixed channel limit**. Create what the arrangement needs.

Each channel can be an input from a track, a bus that other channels feed, a group, or a master.

## Routing

Routing is a graph: a channel sends to another channel, and the destination can send onwards. The
**multi-channel port model** means a channel can also target an arbitrary device output pair, not
just "master".

## Sidechain sends

Sidechain lets one signal's envelope open another's gain — the pumping on a kick drum, the ducking
under a vocal. Zene Studio supports **sidechain sends**, and this is one of the more flexible parts
of the routing model.

:::warning
Some routing constructs exist but **cannot be created from the interface** in this release:

| Construct | Status |
| --- | --- |
| Racks (parallel chains, chain selector) | Socket only — `rack.*` |
| VCA groups | Socket only — `vca.*` |
| Mix-and-edit groups | Socket only |

A project that **contains** one loads and plays it back correctly. You just cannot build one by
clicking. See [known limitations](/docs/known-limitations).
:::

## Groups: which to use when

| | VCA group | Mix-and-edit group | Rack |
| --- | --- | --- | --- |
| Controls | Level and possibly pan for its members | Level, and edits propagate to members | A parallel chain of processing |
| Use for | Summing a drum kit, controlling a whole layer | Group editing: tweak one, all follow | Parallel compression, parallel EQ |
| Status | Socket only | Socket only | Socket only |

## Master

The master channel is the destination everything sums into before export. Fader, pan and any plugins
inserted there apply to the final mix — which makes the master the right place for limiting and
final tone shaping.

:::note
**`mixer.set_pan` refuses every call.** A mixer channel in this tree carries no pan property, so the
command returns an honest refusal instead of faking a write. This is not a bug in your script.
:::

## Meters

Loudness measurement exists and is correct (BS.1770-4 / EBU R128), but **no meter appears in the
interface** — see [Loudness metering](/docs/audio/loudness-meter).

## Practical starting point

1. Route each track to its own channel.
2. Create buses for layered groups — drums, bass, music.
3. Sum the buses to the master.
4. Add sends for reverb and delay, per track or per bus.
5. Put tone shaping and limiting on the master, last.

Then read [Export and render](/docs/audio/export-render) to get the result out.