Skip to content

Proposal: Mix Intelligence — roles up front, the findings in sections, a band map - #88

Open
marcin-koziol wants to merge 7 commits into
BurningTreeC:mainfrom
marcin-koziol:mix-intelligence-roles
Open

marcin-koziol wants to merge 7 commits into
BurningTreeC:mainfrom
marcin-koziol:mix-intelligence-roles

Conversation

@marcin-koziol

Copy link
Copy Markdown

Proposal, built on #86. It contains #86's two commits; the five after them are new here. This is a UI change for discussion: happy to adjust, split or drop any part.

Why

  • The findings list: it was one long column of three-line entries. Masking between the same two tracks in several bands showed as separate rows, and nothing showed where in frequency or in the song things collide.
  • Roles: they decide how pairs are weighed (a kick against its bass, a drum kit's microphones left alone), but they were behind a button that a narrow panel pushed past its edge. Nothing showed which tracks were missing one.
  • Tracks that should not be analysed: there was no way to say "leave this one out" (a click, a guide track, a bed meant to cover the rest).

What

Roles

  • Banner: while audio or instrument tracks have no role, a strip under the status says what that costs, and a Set Roles button opens the Roles panel.
  • Suggestions: TrackRole::suggest guesses a role from a track's name, using English and Polish words for the usual instruments and microphones ("Kick In", "SN Top", "OH L", "Bass DI", "Lead Vox", "Gitara L", "Chórki"). The Roles panel offers each suggestion next to its track ("Kick?"), and a button takes all of them in one undo step. A name is still never taken as a role by itself.
  • A finding's tracks are shown with their roles ("Bass · Bass", "Vocal · ? role"); a click sets the role there.
  • Role colours: role families get a colour dot (drums, low end, in front, the rest, effects; grey for none) next to track names.
  • The Ignore role ("Ignore (Not Analysed)") leaves a track or bus out of the analysis:
    • it is listed as skipped with its reason, appears in no finding and is not on the band map;
    • it still plays, so the master and its buses still carry it;
    • it does not count as a missing role, and the Roles panel shows it faint as "not analysed";
    • name suggestions offer it for clicks, guides, scratch, reference and cue tracks.
  • Header: Map, Levels and Roles move to a second header row when the first is full, instead of running past the edge.

The findings list

  • Sections: by severity (Fix, Consider, Info, with Info folded at first), by track (a section per track with its role; a finding about two tracks appears under both) or by kind. A switch next to the sort chooses, and every section heading folds.
  • Groups: findings of one rule about the same tracks become one entry. It shows the tracks, the rule, every range and the worst severity, and a click unfolds it into the separate findings. The grouping is done in arrange and group_key.
  • When in the song: every entry has a thin strip of the analysed range, with the song's sections as ticks and the finding's events marked, and it names the sections it is in.

The band map

  • The rows: one row per analysed track on a logarithmic 20 Hz – 20 kHz axis, shaded by the track's long-term spectrum (its loudest band darkest), with its role next to its name.
  • The collisions: every masking finding is outlined on both tracks' rows and joined, coloured by severity; a click selects it.
  • Where it shows: it is the Map panel, and the details side shows it whenever nothing is selected.
  • The data: each track's Summary now carries its long-term spectrum (centres, spectrum), taken from the profile already measured, so nothing more is rendered.

docs/ARCHITECTURE.md (Mix Intelligence) describes all of the above.

Tests

  • roles_are_suggested_from_the_usual_names (core): suggestions for 32 names, including the Ignore ones and names that suggest nothing.
  • a_track_with_the_ignore_role_is_left_out_but_still_heard (session): an ignored track is skipped and in no finding, and the master's level does not change.
  • View tests:
    • missing_roles_are_asked_for_and_suggested_from_the_names;
    • levels_and_roles_stay_inside_a_narrow_view;
    • a_finding_shows_its_tracks_roles;
    • findings_are_listed_in_sections_and_groups (sections by severity, track and kind; grouping; folding and opening);
    • the_list_is_made_by_severity_track_or_kind;
    • the_band_map_shows_where_tracks_collide;
    • an_ignored_track_is_shown_as_not_analysed.
  • Also passing: all faderframe-view-mix (16), faderframe-mix-intelligence and faderframe-core tests, and Mix Intelligence's session tests. clippy --workspace --all-targets -D warnings and fmt --check are clean.

🤖 Generated with Claude Code

outi and others added 7 commits November 14, 2026 12:36
…racks

Doubled guitars routed into one bus were compared with each other ("Guitar
L may mask Guitar R") and each on its own with the rest of the mix, so an
EQ cut went onto one of them. A bus can now be marked One Part
(Track::mix_part, Command::SetTrackMixPart; a switch beside its role in
the Roles panel). In masking such a bus stands for the analysed tracks
feeding it: it is compared with the rest of the mix (its EQ cuts go on
it, and it takes their role when they share one), and they are not
compared, nor with each other. Measuring sources, where no bus is
measured, only their pairs are left out. Without the mark nothing
changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pairs of a One Part bus's tracks went into the related pairs, which
the phase and timing stage skips too: two microphones on a snare in such
a bus were no longer checked for polarity. DiagnoseInput gets same_part,
read by masking only; phase and timing pairs are chosen as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… findings

Roles decide how pairs are weighed (a kick against its bass, a drum
kit's microphones left alone), but they hid behind a button that a
narrow panel pushed past its edge.

- The header puts Levels and Roles on a second row when the first is
  full, never past the edge.
- While audio or instrument tracks have no role, a strip under the status
  says what that costs, with Set Roles opening the Roles panel.
- A finding names its tracks with their roles ("Bass · Bass",
  "Vocal · ? role"); a click on one sets it there.
- TrackRole::suggest guesses a role from a track's name (English and
  Polish words for the usual instruments and microphones). The Roles
  panel offers each suggestion beside its track and all of them in one
  undo step; names are still never taken for roles by themselves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…grouped

The list was one long column of three-line entries. It is now in three
sections by severity — Fix, Consider, Info (folded at first) — each a
heading with its count that folds and unfolds; the filters and the sort
work as before, within each section. Findings of one rule about the same
tracks (masking of the same two tracks in several bands, a track's level
in several places) are one entry: the tracks, the rule, every range, the
worst severity; a click shows them one by one under it, and it stays
open while it holds the selection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A row per analysed track, shaded by its long-term spectrum (where it has
most of its energy, its own loudest band darkest) on a logarithmic
frequency axis, its role beside its name, and every masking finding
drawn where it is: outlined on both tracks' rows and joined, coloured by
severity, a click selecting it. It is the Map panel (beside Levels and
Roles) and what the details side shows when nothing is selected.

The report's per-track Summary carries the long-term spectrum it is drawn
from (centres, spectrum: the analysis bands' mean levels, from the
profile already measured; nothing more is rendered).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A click, a guide or scratch track, a bed meant to cover the rest made
findings that meant nothing, and no role said "not this one" (Effects
only weighs pairs lower). TrackRole::Ignore ("Ignore (Not Analysed)")
leaves a track or bus out of the analysis: listed as skipped with its
reason, in no finding, not on the band map. It still plays, so the master
and its buses carry it. It is not a missing role; the Roles panel shows
it faint, "not analysed". The names' suggestions offer it for clicks,
metronomes, guides, scratch, reference and cue tracks (a click takes it,
as for any suggestion).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng; role colours

- The list's sections are made by severity (as before), by track (a
  section per track with its role; a finding about two under both) or by
  kind (masking, levels, phase …): a switch beside the sort.
- Every entry carries a thin strip of the analysed range with the song's
  sections as ticks and where it happens, and names the sections it is in.
- Role families have colours (drums, low end, in front, the rest,
  effects; grey for none) beside track names on the band map, the Roles
  panel, a finding's tracks and a track's section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants