Skip to content

Monitor Levels and Routing

Use a connected live session for the editor views. Start playback, then inspect the mix before changing gain or routing.

  1. In VSCode, run RESONON: Open Resonon Window from the command palette.
  2. Watch each track and the master through the loudest section. If levels are too high, reduce the contributing track’s volume, then check the master again.
  3. Evaluate a fader change against an existing track:
drums.volume << -6;

Volumes are in dB; 0 is unity. Keep room for tracks summing together and for later effects. You can also drag the fader in the Mixer; code reads the same value. For a running server, open its window with the editor commands or window_show(). From a terminal, resonon app starts its own session and main window. See Use the Mixer.

Run RESONON: Open Routing, select the track and press Enter. Check its instrument, effect order, output and sends. To print routing in the console instead:

// Create the track once. setup() runs when the project opens and on Reset Project.
fn setup() {
session.create_track("drums");
}
let drums = session.track("drums");
routing_report(drums);

Use routing_report() without arguments for the whole graph. If a track is silent, follow its output through any buses to master or to the intended hardware channels.

Register the signal, then open the scope window with scope_show():

use "std/signals" { Sine };
let movement = Sine(0.5).range(-1, 1);
scope(movement, "pan movement");
PLAY;
scope_show(length: cycles(4));

Evaluate this in the live session.

Each lane spans its signal’s own range unless you give min and max. Give length enough time for one full period of a slow signal: Sine(0.5) takes two cycles. To change the view, call scope_show() again. To keep a picture of the scope, or to look at it without opening the window, scope_snap("scope.png") writes it to a PNG; it takes the same min, max and length.

The terminal scope (RESONON: Open Scope) shows the same lanes; adjust its time and vertical ranges with the scope keys.

drums.rms and drums.peak are MeterFeed values for binding to visuals; printing them does not read a numeric meter. Use the mixer to watch levels, or bind a feed to a shader.