Pro Tools draws a strip's fader and meter as one unit: the meter's dB
scale sits between them, the meter spans the fader's travel, and its
bar is a solid column over dark tints of its zones. Ours had LED
stripes, no meter scale, and a meter taller than the fader's travel.
- Meters: a solid bar that lights green, yellow and red over dark tints
of those zones (fainter in light wells), ruled at the scale's marks,
with a clip light above the bar and a 2 pt peak hold in its zone's
colour. This is the shared meter, so the Edit window, toolbar and
transport meters change too.
- Mix strips: the meter runs the fader's travel, 0 dBFS level with
+12, and its 0-60 dB scale sits between the fader and the meter.
Narrow strips show the fader's ticks without numbers, as Pro Tools'
Narrow Mix does.
- Faders: a narrower, taller cap (18 x 40 pt, 16 pt wide in narrow
strips) with a pinched waist and a dark centre line, in a 4 pt slot.
The scale's numbers sit beside the cap and skip marks too close to
the one above.
tests/mix_strip_layout.rs checks that the meter scale's 0 is level
with the fader's 12 and that narrow strips draw no scale numbers; both
fail before this change.
Part of #138.
The shared controls were flat rectangles and discs. They now follow Pro
Tools' shapes and colours, drawn in code with vertex-coloured meshes (no
assets), and keep a modern, soft shading:
- Faders: a silver cap, taller than wide, with a dark centre line and
faint grip ridges, in a slot that leaves room for the cap at both
ends.
- Pan knobs: a softly shaded disc with a light rim and a white pointer
beside the green value arc.
- Keys (S/M/I, record arm, toolbar and transport buttons, edit modes,
Grid, Count Off, selector boxes, filled insert, send and instrument
slots): lit from above and sunk while pressed. Record arm shows an
unlit salmon light when off. The edit-mode keys take their width from
the widest label, so SHUFFLE and REL GRID fit.
- Meters: LED segments with thin gaps, the unlit ones faintly visible.
- Mix sections and the pan and volume readouts sit in outlined wells.
Strips get a soft gradient and a lit left edge, track headers a lit
top edge, and a line separates the Edit window's headers from the
lanes.
- Filled insert slots are grey, as in Pro Tools. They no longer
brighten on hover: on the grey, that dropped their label below 4.5:1
in Dark. mix_instrument_contrast now finds the key's face and rim,
and checks that hovering keeps the face.
Part of #138.
Pro Tools lets you work with a track's plugins from the Edit window.
Here its Inserts and Sends columns (View > Edit Window Views) only
printed the names.
- The Inserts A-E/F-J and Sends A-E/F-J columns now use the Mix
window's slots, so they work as they do there: click a plugin to open
its window, click an empty slot to insert one, right-click to bypass,
remove or replace it, and route or set the level of a send.
- A new Instruments column shows an instrument track's instrument.
- The columns run in Pro Tools' order: Instruments, Inserts, Sends, I/O,
Comments. Each gets a title, boxed in its own row under the rulers,
and the ruler names now end at the track headers.
- A Views button at the top left of the rulers shows and hides the
columns, like Pro Tools' Edit Window View selector. Its menu stays
open until a click elsewhere, so several columns take one trip.
- In both windows, insert slots show a power light, green while the
plugin runs and dark while it's bypassed, with the name left-aligned
and dimmed when bypassed. A plugin whose code is missing shows its id
instead of looking like an empty slot.
- Cmd+click (Ctrl+click on Windows and Linux) bypasses an insert, as in
Pro Tools.
- Each column draws in a Ui of its own, so its widget ids can't clash
with the track header's.
Stereo strips draw two smaller pan knobs (32pt or less instead of 34pt),
and the rows under them were placed from the knob size. So the pan
readouts, the I/record and S/M keys and everything below them sat 2pt
higher than on mono strips. The rows now use the mono positions on every
strip.
The fader's dB numbers and ticks were painted in fixed greys (150 and
110), which are faint on the Light theme's strips: the numbers had a
2.5:1 contrast. They now use the theme's text_dim, at 70% for the ticks.
Light reads at about 5:1 and Dark looks the same as before.
Each tick now starts 2pt after its number instead of running through the
digits, and is left out when the strip is too narrow for it.
The previous release build failed in craft-common-actions, not in this
repo: riscv64 packaging got --formats deb,rpm,tar (fixed in
craft-common-actions#3), Linux jobs lacked the ALSA headers
(craft-common-actions#5), and Windows signing needed the AZURE_* secrets
listed in the caller.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#181 already pushes instrument params each block, so drop the duplicate
apply_instrument_params. Import Session Data now brings a Sampler's sample
along and remaps its source id.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes#166: dragging a selection up from the last track deselected it and
selected every track above instead. Fixed, along with related Edit-window drag
problems:
- Drag selection spans exactly the tracks between the press and the pointer,
in either direction, and the whole window updates in the same frame.
- Shift+click in another track adds it to the selection with the same range,
as in Pro Tools, so the selected tracks no longer have to be adjacent. A
click outside the range extends it.
- Track names follow Pro Tools' rules in the Edit window, the Mix window and
the Tracks list: Shift+click selects every track between the nearest
selected one and the clicked one, and Cmd+click (Ctrl+click on Windows and
Linux) adds or removes one. A click on a name used to replace the selection;
only the Edit header's background added, and it treated Shift like Cmd.
- Dropping a track's name plate lower down no longer sends the track to the end.
- Drags act where you pressed: a quick drag from a clip edge now trims instead
of moving the clip.
- Dragging past the edge of the track area scrolls, and a flick past the last
track selects down to it.
- The insertion point moves on press, shows immediately, and only on the
selected tracks.
- edit.select no longer makes a new document revision when nothing changed
(each one is resent to the audio engine).
- Fixes a panic when a fade drag's clip shrinks to zero length.