Skip to content

armgit / nota

Public Imported from GitHub
0

Nota — a free DAW for macOS, Windows and Linux. No subscription, no account — just open it and make music.

(fix) Mixer strips show the track's real name

Egor Khindikaynen36ce29ca69b4
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0f37b72d..e3d0cb20 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,11 @@ Entry categories: `Added`, `Changed`, `Fixed`, `Removed`.
## [Unreleased]
+### Fixed
+- **The Mixer shows your track names:** a track renamed to "Drums" used to read "Inst 2" in
+ its mixer strip. Strips now carry the same name as the Arrangement — or the instrument's
+ name, "Group" or "Return N" — and a group strip's I/O reads "Group in → Master".
+
## [0.50.1] — 2026-10-07
### Highlights
diff --git a/src/managed/Nota.App/MixerView.cs b/src/managed/Nota.App/MixerView.cs
index d4bb92d5..8664e183 100644
--- a/src/managed/Nota.App/MixerView.cs
+++ b/src/managed/Nota.App/MixerView.cs
@@ -98,10 +98,12 @@ public sealed class MixerView : UserControl
bool isReturn = ti.IsReturn;
var col = new StackPanel();
- col.Children.Add(Header(NameFor(ti), color, Card));
+ col.Children.Add(Header(TrackNames.Of(_engine, ti), color, Card));
- string io1 = isReturn ? "Return in" : ti.IsInstrument ? "MIDI in" : "In 1";
- string io2 = isReturn ? "→ Master" : ti.IsInstrument ? "Monitor Auto" : "Monitor In";
+ string io1 = isReturn ? "Return in" : ti.IsGroup ? "Group in" : ti.IsInstrument ? "MIDI in" : "In 1";
+ string io2 = isReturn ? "→ Master"
+ : ti.IsGroup ? "→ " + (ti.GroupId >= 0 ? TrackNames.Of(_engine, ti.GroupId) : "Master")
+ : ti.IsInstrument ? "Monitor Auto" : "Monitor In";
// Instrument tracks get a live "MIDI To" selector in place of the static I/O text.
var ioRow = ti.IsInstrument ? MidiIoRow(id) : IoRow(io1, io2);
ioRow.IsVisible = _ioVisible;
@@ -209,10 +211,6 @@ public sealed class MixerView : UserControl
};
}
- private string NameFor(NotaTrackInfo ti)
- => ti.IsReturn ? $"Return {_engine.TrackReturnIndex(ti.Id) + 1}"
- : (ti.IsInstrument ? "Inst " : "Audio ") + ti.Id;
-
private Control Header(string name, IBrush topColor, IBrush bg)
{
var grid = new Grid { RowDefinitions = new RowDefinitions("2,*") };