Use the Mixer
The Mixer is a collapsible panel below the
Arrangement in the main Resonon window. The session
server opens this window on its own desktop. It has one strip for each
track and one for the master. The master strip stays at the right edge; the other strips scroll
under it when they do not fit. It changes the same values that code changes: moving a fader and
calling set_volume() are the same edit, and the last edit wins.
Open the Mixer
Section titled “Open the Mixer”- In VSCode, run RESONON: Open Resonon Window from the Command Palette, or open Mixer in the resonon Views.
- In Neovim, run
:Resonon view. - From code:
mixer_show();mixer_hide();From a terminal, resonon app starts Resonon with its own session and main window.
For a server that already runs, use the editor commands above or window_show() in its session.
Opening the main window brings it to the front. Closing it does not stop the session.
Click the Mixer header or press Command-M to collapse or expand the panel. Drag its upper edge
to resize it. Faders and meters take the height the panel has left. The sends never scroll: when
the session gets more returns than the panel has room for, the panel grows until every send knob
fits, and it keeps that height when returns go away.
window_show() opens the main window, window_hide() closes it, mixer_show() expands its Mixer, and
mixer_hide() collapses its Mixer. The Mixer needs
macOS and a session server (resonon server, or the server VSCode starts). When you
save the session with the window open, opening
the session restores its frame, screen, Mixer visibility and panel height.
Edit project files
Section titled “Edit project files”The Editor occupies the left half of the main window. Press Command-Option-E to
hide or show it. Its Files strip opens a resizable file explorer;
Command-Shift-E toggles it. The explorer lists src/, lib/ and resonon.toml.
Its width and visibility are saved with the session.
Click a file to open a tab. Each tab keeps its own text, undo history, selection and scroll position. A dot marks unsaved changes. With the text focused, Command-S saves the current file, Command-Option-S saves all dirty files, and Command-W closes the current tab. Closing a dirty tab asks whether to save, discard or cancel. Open tabs are temporary; reopening a project opens its entry file.
Edits from another editor reload automatically when the local buffer is clean. If both have changed, choose Reload to use the disk version or Keep mine to retain the local text. Saving an unresolved conflict asks before overwriting. Deleted files stay open and can be saved again. Invalid UTF-8 files show a read-only preview and cannot be saved from the Editor.
Read a strip
Section titled “Read a strip”A track strip shows, from top to bottom:
| Part | Shows |
|---|---|
| Colour | A band in the track colour. The track’s header and blocks in the Arrangement have the same colour. |
| Name | The track name. A name that does not fit ends in …: hold the pointer over it to see all of it. A muted track’s name dims. |
| Kind | RETURN A, RETURN B and so on, in track order, for a return track: one that another track sends or routes to. An audio track has no tag. |
| AUDIO FROM, AUDIO TO | Where the track’s audio comes from and where it plays to. Click a chooser to change it. A return’s input is always Tracks/Sends. |
| SENDS | One knob for each return, in the order of the returns, with the return’s letter under it. The knobs stand in two staggered columns: A top left, B half a row lower on the right, C under A, and so on. A knob at −∞ is a return the track does not send to yet. A return strip leaves its own knob out, so the letters stay in line across the strips. While you hold the pointer over a send knob, drag it or give it the keys, the SENDS line shows the return’s letter and the level, for example A -1.9 dB. From −10 dB down the level shows without its decimal. |
| Pan | A knob in the middle of the strip. While you hold the pointer over it, drag it or give it the keys, the pan position shows beside it: C, or a percentage left (L) or right (R). |
| Volume and peak | The fader value in dB, in a box that fills with the fader, and the held peak of the meter in dB. |
| Fader, scale and meter | The volume, a dB scale for the meter, and the level of the track’s output. The readouts, the fader and the meter share one dark well. |
| M, S | Mute and solo. A lit button is on. |
The master strip has AUDIO TO, pan, volume and peak, fader and meter. A MIDI track’s strip shows MIDI under its name (and MPE when MPE is on), then MIDI FROM, MIDI TO, and three buttons for the monitor mode: In, Auto and Off, with the current mode lit. A MIDI track sends notes, not sound, so its well has no fader and no meter, but it has mute and solo.
Change a value
Section titled “Change a value”Every fader, knob and value box works the same way:
| Action | Result |
|---|---|
| Drag up or down | Changes the value. |
| Shift-drag | Changes it at a tenth of the speed. |
| Double-click | Resets it: 0 dB for volume, the centre for pan, −∞ for a send. |
| Right-click, type, press Enter | Sets the typed value on a fader or value box. The value box becomes a field in its place. Esc or a click elsewhere cancels. Send and pan knobs have no typed value. |
| Control | Range and typed values |
|---|---|
| Fader and Volume box | −∞ to +6 dB; 0 dB is at about four fifths of the fader’s travel. Type -6, -6 dB, or -inf for silence. Right-clicking the fader types into the Volume box. |
| Pan | Full left to full right. |
| Send | −∞ to 0 dB. Most of the knob’s travel covers −30 to −6 dB; half travel is about −16 dB. Turning up a knob at −∞ makes the send; the drag is one undo step. |
| M, S | Click to turn mute or solo on or off. |
Change a value with the keys
Section titled “Change a value with the keys”A plain click on a fader, knob, value box, toggle or chooser gives it the keys. A thin light outline shows which control has them. A drag, a double-click or a right-click never takes the keys: when the Editor has them, the arrow keys and your typing still go to the code.
| Key | Result |
|---|---|
| Tab, Shift-Tab | Gives the keys to the next or previous control. The Mixer goes from strip to strip, left to right and the master last, and from top to bottom in each strip. The track headers in the Arrangement go from track to track, and from left to right in each header. The keys stay in their area and go round from the last control to the first. |
| Up or Right | Steps the value up: 0.5 dB for volume and sends, 1 for pan. One step below the lowest level gives −∞. |
| Down or Left | Steps the value down. |
| Shift with an arrow | Steps at a fine step: 0.1 dB for volume and sends. |
| Enter | Opens the typed value on a fader or value box. Turns a toggle on or off. Opens a chooser’s list; then Down and Up move in the list and Enter chooses. |
| Delete or Backspace | Resets the value, as a double-click does. The selected track stays. |
| Escape | Takes the keys from the control. |
Space, Command-Z, Command-Shift-Z, Command-S and Command-T keep their usual action while a control has the keys.
A track’s devices and their parameters are in the Devices panel; see Use the Device Panel.
Add and delete tracks
Section titled “Add and delete tracks”| Action | Result |
|---|---|
| Command-T, or + after the last strip, then Audio Track | Adds an audio track named Audio 1, Audio 2 and so on, and selects it. |
| Command-Shift-T, or +, then MIDI Track | Adds a MIDI track named MIDI 1, MIDI 2 and so on, and selects it. |
| Click a strip’s name | Selects the track. The selected strip has a lighter grey background. |
| Double-click a strip’s name, or the track name above the Devices panel | The name becomes a field in its place, in the same font, with all of it selected. Type a new name and press Enter to rename the track, or press Escape or click elsewhere to cancel. The rename is one undo step, and the track stays selected. |
| Delete or Backspace, with a track selected | Deletes the selected track and selects the next one: the one before it when it was last, the master track when no track is left. The master track cannot be deleted. |
| Right-click a strip’s name, Delete Track | Deletes that track. |
The Arrangement has the same + under its last track, and selecting a track in one selects it in the other. A track is always selected: a project opens with the master track selected, and when code that runs again no longer makes the selected track, the next track is selected.
Set a track colour
Section titled “Set a track colour”Each track has a colour, so that you can find it in the Mixer and the Arrangement. A new track takes the next colour of the palette, also when code makes it. Right-click a strip’s name and click a colour in the palette to change it. The palette has 24 colours: 12 bright hues in the top row and the same hues muted in the bottom row. The change is one undo step, and saving the session keeps it.
In code, a colour is the palette index, from 0 to 23: 0 to 11 are the bright row from left to right, and 12 to 23 are the muted row.
// Create the track once. setup() runs when the project opens and on Reset Project.fn setup() { session.create_track("lead");}
let lead = session.track("lead");lead.set_color(17);print(lead.color());Add devices from the Browser
Section titled “Add devices from the Browser”The Browser lists the built-in devices and the plugins installed on this computer, as Live’s browser does. It is hidden until you ask for it: press Command-Option-B or click the thin Browser strip right of the Editor to show it beside the Editor, and press the keys again or click its header to fold it back to the strip.
The devices are sorted by kind, under Instruments, Audio Effects and Other Plugins. Each kind has one folder for each vendor:
- Resonon is first. It holds the built-in devices. A built-in such as Sampler or Reverb loads a plugin that ships with Resonon; that plugin is not listed a second time.
- The other vendors follow from A to Z.
- Unknown vendor is last. It holds the plugins that do not name a vendor.
Click a kind or a folder to open or close it. The kinds start open and the folders start closed. The session keeps the folders you open or close, with the Browser’s width, when you save it.
The tag at the right of each row shows the format: CLAP, VST3 or BUILT-IN. A plugin installed as CLAP and as VST3 has two rows, one for each format. A name that is too long ends with ”…”; hold the pointer over the row to see the full name, the vendor and the format.
Type in the search field to filter by name, vendor or format. Every word must match. The search opens each folder that has a match. Clear the search to see the folders as you left them.
Plugins that the plugin scanner could not load are listed last, under Skipped by the scanner, which starts closed. They cannot be added, and holding the pointer over one shows why.
Use the Browser with the keyboard
Section titled “Use the Browser with the keyboard”Click a row to select it. The Browser takes the arrow keys and Return while it has the thin grey outline and no field has the keyboard. Press Command-F to show the Browser, give it the keys and put the cursor in its search field. While the Editor has the keyboard, Command-F stays with the Editor.
| Key | Result |
|---|---|
| Down / Up | Selects the next or the previous row. With no row selected, Down selects the first row. |
| Left | Closes an open kind or folder. On any other row, selects the kind or folder above it. |
| Right | Opens a closed kind or folder. On an open one, selects its first row. |
| Return | Adds the selected item to the selected track, as a double-click does. On a kind or folder, opens or closes it. |
| Down in the search field | Leaves the field and selects the first match. |
While you search, Left and Right only move the selection; they do not open or close folders. The selected row is bright while the Browser has the keys and dim when another panel has them. When a folder closes over the selected row, or the search hides it, the kind or folder above it is selected.
| Action | Result |
|---|---|
| Drag an item onto a strip | Adds it last in the track’s chain. An instrument replaces the track’s instrument. |
| Drag an item onto the Devices panel | Adds it to the selected track: before the card under the pointer, or last anywhere else on the panel. The collapsed panel’s header takes the drop too. |
| Double-click an item | Adds it to the selected track, last in its chain. |
To move, switch off or remove a device, use its card in the Devices panel. A plugin added from the Browser opens its plugin window, as in Live. After a device is removed, Delete does nothing until you select a track again, so a second press cannot delete the track. While the Editor has focus, Backspace and Delete edit the code. The panel with the thin grey outline has the keys; see give the keys back to the session.
The master strip takes effects only. Save the session to keep the chain. Built-in devices and installed plugins come back when you open it; custom DSP devices wait for their code.
Undo a change
Section titled “Undo a change”Press Command-Z to undo the last change and Command-Shift-Z to redo it. One drag is one
step, so a single undo takes the fader back to where the drag started. Arrow presses on one control
are one step while less than 1 s passes between them. Adding or deleting a track,
setting a track colour and adding, removing or moving a device are one step each; undoing a deletion brings the track
back with its devices and their state. Undo takes back changes made
in the Mixer and UI edits from other clients of the session. Code evaluations are not undo steps. Undo restores
session state, including deleted tracks and devices. It does not rewind code text,
variables, callbacks or the transport. RESET, Open and Reset Project start a
new history. Correct a wrong live run in code and run it again. See The session and your code.
Command-Z and Command-Shift-Z also undo and redo session changes while the
Editor has the keyboard.
Use Control-Z and Control-Shift-Z to undo and redo code text.
Single-line fields, such as track names, dB entries and Browser search, keep
Command-Z and Command-Shift-Z for their own text while focused.
Read the meters
Section titled “Read the meters”Each meter has a bar for the left and the right channel, from −60 dB at the bottom to +6 dB at the top. The light part of a bar is the peak level and the solid part is the RMS level. A bar is green below −12 dB, lime from −12 to −3 dB, orange from −3 to 0 dB and red above 0 dB. The white line holds the highest peak for one second, then falls. The scale beside the meter marks +6, 0, −12, −24, −36 and −48 dB. The peak box next to the volume shows that held peak in dB.
The peak box turns red when the level reaches 0 dBFS, and stays red. Click it to clear it. The meters use the same ballistics as every other meter of the session.
Use the Mixer with code
Section titled “Use the Mixer with code”The Mixer and code edit one session. Set up two tracks and a send:
// Create the tracks once. setup() runs when the project opens and on Reset Project.fn setup() { session.create_track("drums"); session.create_track("verb");}
let drums = session.track("drums");let verb = session.track("verb");drums.set_send(verb, 0.3);The Mixer shows the drums strip with a send to verb, and verb as a return track. Move the
drums fader, then read the volume in code:
print(drums.volume());The printed value is the fader value in dB. Set the volume in code and the fader moves:
drums.set_volume(-12);When several editors connect to one server, each one sees the changes of the others and of the
Mixer. The value that was written last wins, whether code or the Mixer wrote it. Running the
set_volume() line again sets the code’s value again. See
descriptions and slots.
Tracks and devices added in the Mixer are part of the session, like those code adds: code can reach
them by name (session.track("Audio 1")), and saving the session keeps them. Each return adds a send
knob to the strip of every other audio track and return; a knob turned up in the Mixer and set_send() in code make the same send.