Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ installations keep their settings, install folder and autostart entry.
| Frontend | WinUI 3 app with tray icon, plus the `m4ctl` command line | Qt app `momentum-control`, plus the `momentumctl` command line |
| How to get it | Installer or portable zip from the releases | `tar.gz` from the releases (x64, arm64) or built from source, see [`linux/README.md`](linux/README.md) |
| MOMENTUM 4 | Checked on a real headset, firmware 3.37.3 and 3.38.3 | Same commands and firmware gates through the shared core; the Linux hardware checks were done with a MOMENTUM 5 |
| MOMENTUM 5 | The shared core recognises it, but nobody has tested it on Windows yet, and the M5-only controls have no UI here | Checked on a real headset, firmware 6.21.5 (model M5AEBT); any other firmware is read-only |
| BTD 700 dongle | Not supported | USB status and codec selection; the firmware updater is experimental and flashing was never verified on hardware |
| MOMENTUM 5 | Same controls and session as on Linux (firmware 6.21.5), but only tested against the simulator, not yet on a real headset under Windows | Checked on a real headset, firmware 6.21.5 (model M5AEBT); any other firmware is read-only |
| BTD 700 dongle | Not supported (Linux only) | USB status and codec selection; the firmware updater is experimental and flashing was never verified on hardware |

On the MOMENTUM 5 the Linux app adds transparency level, immersive audio, head tracking and battery protection. Its
equalizer has eight bands instead of five, and wind reduction only knows off and maximum. The details, the BTD 700
On the MOMENTUM 5 both apps add transparency level, immersive audio with head tracking, battery protection and
transparency during calls. Its equalizer has eight bands instead of five, and wind reduction only knows off and
maximum. On Windows an M5 is driven exactly like on Linux: no notification registration, the state is read every poll
interval. The details, the BTD 700
permissions and the remaining limits are in the [Linux guide](linux/README.md), the
[validation notes](docs/linux-validation.md) and the [architecture overview](docs/architecture.md).

Expand All @@ -49,6 +51,8 @@ All of this is checked on a real headset (firmware 3.37.3 and 3.38.3).
- Tray icon with a quick panel on left-click and the full menu on right-click; about 5 MB of RAM while it sits in the tray
- Reads the battery over Windows when the GAIA link is down (shown as "(Windows)")
- Rename the headset
- MOMENTUM 5 (firmware 6.21.5): transparency level, immersive audio, head tracking, battery protection, transparency
during calls; shown only when an M5 is connected (not yet tested on a real M5 under Windows)
- A small command line, `m4ctl`, for scripts and hotkeys
- Optional start with Windows, minimized to the tray
- Reconnects on its own when the headset comes back
Expand Down Expand Up @@ -95,6 +99,8 @@ m4ctl strength 80 # ANC strength
m4ctl preset MyCurve
m4ctl battery # just the number, for scripts
m4ctl autooff 30
m4ctl immersive on # MOMENTUM 5 only
m4ctl sidetone 2 # transparency during calls, MOMENTUM 5 only for now
```

Settings, presets and logs are in `%LOCALAPPDATA%\Momentum4Control\`. Logs are deleted after 14 days.
Expand All @@ -106,7 +112,10 @@ Settings, presets and logs are in `%LOCALAPPDATA%\Momentum4Control\`. Logs are d
- It can't put the headset into pairing mode. Do that on the headset.
- Sound Personalization (sound mode 3) is left alone; its preconditions aren't clear.
- The bundled EQ presets are my own, not the ones from Smart Control.
- Only one paired MOMENTUM 4 at a time.
- Only one paired headset at a time.
- Transparency during calls (sidetone) is not offered on the MOMENTUM 4 yet: the headset reports the level, but nobody
has confirmed by ear that changing it works.
- No BTD 700 dongle support on Windows.
- The phone's Smart Control app uses the same channel. I haven't tested both connected at once.

## Troubleshooting
Expand Down
2 changes: 1 addition & 1 deletion src/Momentum4.App/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ private void OnWindowClosed(object sender, WindowEventArgs args)

if (!_host.Settings.TrayHintShown)
{
_tray?.ShowBalloon(Localization.L.Get("TrayHintTitle"), Localization.L.Get("TrayHintBody"));
_tray?.ShowBalloon(Localization.L.Get("TrayHintTitle", Momentum4.Core.State.ProductName.For(_host.Service?.Store.Current.Device?.ModelId)), Localization.L.Get("TrayHintBody"));
_host.SaveSettings(_host.Settings with { TrayHintShown = true });
}

Expand Down
72 changes: 50 additions & 22 deletions src/Momentum4.App/Localization/L.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,25 @@ public static void Init(AppLanguage language)
["HintOff"] = "Keine Geräuschunterdrückung, nur passive Dämpfung.",
["ActNoiseControl"] = "Noise Control „{0}“",
["ActAntiWind"] = "Anti-Wind „{0}“",
["TransparencyLevel"] = "Transparenzstufe",
["SpatialTitle"] = "Raumklang",
["ImmersiveAudio"] = "Immersive Audio",
["HeadTracking"] = "Head Tracking",
["SpatialPersonalizationHint"] = "Im Klangmodus Sound Personalization ist Raumklang nicht verfügbar.",
["CallTransparency"] = "Transparenz bei Anrufen",
["CallTransparencyOff"] = "Aus",
["BatteryProtection"] = "Akkuschutz",
["NameTooLong"] = "Name zu lang: höchstens {0} Byte (Umlaute zählen doppelt).",
["ActSidetone"] = "Transparenz bei Anrufen „{0}“",
["ActImmersive"] = "Immersive Audio {0}",
["ActHeadTracking"] = "Head Tracking {0}",
["ActBatteryProtection"] = "Akkuschutz {0}",
["ActTransparencyLevel"] = "Transparenzstufe {0}",
["ActAutoPauseOn"] = "Automatische Pause an",
["ActAutoPauseOff"] = "Automatische Pause aus",
["ActAncStrength"] = "ANC-Stärke {0} %",
// Status / Verbindung (Code)
["SearchingHeadset"] = "Suche MOMENTUM 4 …",
["SearchingHeadset"] = "Suche MOMENTUM 4 oder 5 …",
["Connecting"] = "Verbinde …",
["NotConnected"] = "Nicht verbunden",
["NoHeadset"] = "Kein Headset",
Expand All @@ -102,7 +116,7 @@ public static void Init(AppLanguage language)
["NotWornState"] = "abgesetzt",
["DisconnectedRetry"] = "Getrennt – nächster Versuch folgt",
["Disconnected"] = "Getrennt",
["HeadsetDisconnected"] = "MOMENTUM 4 getrennt",
["HeadsetDisconnected"] = "{0} getrennt",
["DisconnectedMessage"] = "Headset aus, außer Reichweite oder Bluetooth aus. Die App verbindet sich automatisch wieder.",
["BatteryWindows"] = "{0} % (Windows)",
// Geräte / Aktionen
Expand Down Expand Up @@ -197,17 +211,17 @@ public static void Init(AppLanguage language)
["InspWaiting"] = "Wartet auf Verkehr …",
["InspFrames"] = "{0} Frames (neueste oben, höchstens {1})",
["InspUnreadable"] = "Frame nicht lesbar",
["NoHeadsetProblem"] = "Kein gekoppeltes MOMENTUM 4 gefunden. In den Windows-Bluetooth-Einstellungen koppeln und erneut suchen.",
["MultipleHeadsets"] = "{0} MOMENTUM 4 gekoppelt – mehrere Headsets werden noch nicht unterstützt.",
["TrayHintTitle"] = "MOMENTUM 4 läuft weiter",
["NoHeadsetProblem"] = "Kein gekoppeltes MOMENTUM 4 oder 5 gefunden. In den Windows-Bluetooth-Einstellungen koppeln und erneut suchen.",
["MultipleHeadsets"] = "{0} MOMENTUM-Headsets gekoppelt – mehrere Headsets werden noch nicht unterstützt.",
["TrayHintTitle"] = "{0} läuft weiter",
["TrayHintBody"] = "Die App ist jetzt nur im Infobereich der Taskleiste. Beenden über das Tray-Menü.",
["TrayConnected"] = "MOMENTUM 4 – verbunden",
["TrayConnectedBattery"] = "MOMENTUM 4 – {0} %",
["TrayConnected"] = "{0} – verbunden",
["TrayConnectedBattery"] = "{0} – {1} %",
["ChargingSuffix"] = " (lädt)",
["TrayConnecting"] = "MOMENTUM 4 – verbinde …",
["TrayNoHeadset"] = "MOMENTUM 4 – kein Headset gefunden",
["TrayWindows"] = "MOMENTUM 4 – {0} % (über Windows, Steuerung getrennt)",
["TrayDisconnected"] = "MOMENTUM 4 – getrennt",
["TrayConnecting"] = "{0} – verbinde …",
["TrayNoHeadset"] = "MOMENTUM – kein Headset gefunden",
["TrayWindows"] = "{0} – {1} % (über Windows, Steuerung getrennt)",
["TrayDisconnected"] = "{0} – getrennt",
["TrayBattery"] = "Akku: {0} %",
["TrayBatteryWindows"] = "Akku: {0} % (Windows) – Steuerung getrennt",
["TrayEqPreset"] = "Equalizer-Preset",
Expand Down Expand Up @@ -258,10 +272,24 @@ public static void Init(AppLanguage language)
["HintOff"] = "No noise cancelling, only passive isolation.",
["ActNoiseControl"] = "Noise Control “{0}”",
["ActAntiWind"] = "Anti-wind “{0}”",
["TransparencyLevel"] = "Transparency level",
["SpatialTitle"] = "Spatial audio",
["ImmersiveAudio"] = "Immersive audio",
["HeadTracking"] = "Head tracking",
["SpatialPersonalizationHint"] = "Spatial audio is not available in the Sound Personalization sound mode.",
["CallTransparency"] = "Transparency during calls",
["CallTransparencyOff"] = "Off",
["BatteryProtection"] = "Battery protection",
["NameTooLong"] = "Name too long: at most {0} bytes (accented letters count twice).",
["ActSidetone"] = "Transparency during calls “{0}”",
["ActImmersive"] = "Immersive audio {0}",
["ActHeadTracking"] = "Head tracking {0}",
["ActBatteryProtection"] = "Battery protection {0}",
["ActTransparencyLevel"] = "Transparency level {0}",
["ActAutoPauseOn"] = "Auto-pause on",
["ActAutoPauseOff"] = "Auto-pause off",
["ActAncStrength"] = "ANC strength {0} %",
["SearchingHeadset"] = "Searching for MOMENTUM 4 …",
["SearchingHeadset"] = "Searching for MOMENTUM 4 or 5 …",
["Connecting"] = "Connecting …",
["NotConnected"] = "Not connected",
["NoHeadset"] = "No headset",
Expand All @@ -273,7 +301,7 @@ public static void Init(AppLanguage language)
["NotWornState"] = "off",
["DisconnectedRetry"] = "Disconnected — retrying",
["Disconnected"] = "Disconnected",
["HeadsetDisconnected"] = "MOMENTUM 4 disconnected",
["HeadsetDisconnected"] = "{0} disconnected",
["DisconnectedMessage"] = "Headset off, out of range, or Bluetooth off. The app reconnects automatically.",
["BatteryWindows"] = "{0} % (Windows)",
["Connect"] = "Connect",
Expand Down Expand Up @@ -365,17 +393,17 @@ public static void Init(AppLanguage language)
["InspWaiting"] = "Waiting for traffic …",
["InspFrames"] = "{0} frames (newest on top, at most {1})",
["InspUnreadable"] = "frame unreadable",
["NoHeadsetProblem"] = "No paired MOMENTUM 4 found. Pair it in Windows' Bluetooth settings and search again.",
["MultipleHeadsets"] = "{0} MOMENTUM 4 paired — multiple headsets are not supported yet.",
["TrayHintTitle"] = "MOMENTUM 4 keeps running",
["NoHeadsetProblem"] = "No paired MOMENTUM 4 or 5 found. Pair it in Windows' Bluetooth settings and search again.",
["MultipleHeadsets"] = "{0} MOMENTUM headsets paired — multiple headsets are not supported yet.",
["TrayHintTitle"] = "{0} keeps running",
["TrayHintBody"] = "The app is now only in the notification area. Quit via the tray menu.",
["TrayConnected"] = "MOMENTUM 4 — connected",
["TrayConnectedBattery"] = "MOMENTUM 4 — {0} %",
["TrayConnected"] = "{0} — connected",
["TrayConnectedBattery"] = "{0} — {1} %",
["ChargingSuffix"] = " (charging)",
["TrayConnecting"] = "MOMENTUM 4 — connecting …",
["TrayNoHeadset"] = "MOMENTUM 4 — no headset found",
["TrayWindows"] = "MOMENTUM 4 — {0} % (via Windows, control disconnected)",
["TrayDisconnected"] = "MOMENTUM 4 — disconnected",
["TrayConnecting"] = "{0} — connecting …",
["TrayNoHeadset"] = "MOMENTUM — no headset found",
["TrayWindows"] = "{0} — {1} % (via Windows, control disconnected)",
["TrayDisconnected"] = "{0} — disconnected",
["TrayBattery"] = "Battery: {0} %",
["TrayBatteryWindows"] = "Battery: {0} % (Windows) — control disconnected",
["TrayEqPreset"] = "Equalizer preset",
Expand Down
40 changes: 37 additions & 3 deletions src/Momentum4.App/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:Momentum4.App.ViewModels"
xmlns:loc="using:Momentum4.App.Localization"
Title="MOMENTUM 4">
Title="MOMENTUM Control">

<!-- AMOLED: schwarzer Hintergrund statt Mica; Kartenstil in App.xaml -->
<Grid Background="{StaticResource AmoledBackgroundBrush}">
Expand All @@ -26,7 +26,7 @@
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<StackPanel Spacing="2">
<TextBlock Style="{StaticResource TitleTextBlockStyle}" Text="MOMENTUM 4" />
<TextBlock Style="{StaticResource TitleTextBlockStyle}" Text="{x:Bind ViewModel.ProductTitle, Mode=OneWay}" />
<TextBlock Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.StatusText, Mode=OneWay}" />
<TextBlock
Foreground="{ThemeResource TextFillColorTertiaryBrush}"
Expand Down Expand Up @@ -216,10 +216,19 @@
StepFrequency="1"
Value="{x:Bind ViewModel.NoiseControl.Strength, Mode=TwoWay}" />
</StackPanel>
<!-- Nur MOMENTUM 5 (FW 6.21.5): eigene Transparenzstufe, bei ANC aus gesperrt -->
<Slider
Header="{loc:Loc Key=TransparencyLevel}"
IsEnabled="{x:Bind ViewModel.NoiseControl.TransparencyLevelEnabled, Mode=OneWay}"
Maximum="100"
Minimum="0"
StepFrequency="1"
Value="{x:Bind ViewModel.NoiseControl.TransparencyLevel, Mode=TwoWay}"
Visibility="{x:Bind ViewModel.NoiseControl.ShowTransparencyLevel, Mode=OneWay}" />
<ComboBox
MinWidth="160"
Header="{loc:Loc Key=AntiWind}"
ItemsSource="{x:Bind ViewModel.NoiseControl.AntiWindOptions}"
ItemsSource="{x:Bind ViewModel.NoiseControl.AntiWindOptions, Mode=OneWay}"
SelectedIndex="{x:Bind ViewModel.NoiseControl.AntiWindIndex, Mode=TwoWay}" />
<ToggleSwitch OffContent="{loc:Loc Key=StateOff}" OnContent="{loc:Loc Key=StateOn}" Header="{loc:Loc Key=AutoPauseTransparency}" IsOn="{x:Bind ViewModel.NoiseControl.AutoPause, Mode=TwoWay}" />
</StackPanel>
Expand Down Expand Up @@ -304,6 +313,23 @@
</StackPanel>
</Border>

<!-- Raumklang: nur MOMENTUM 5 (FW 6.21.5); Head Tracking nur mit Immersive Audio -->
<Border
IsHitTestVisible="{x:Bind ViewModel.Spatial.IsAvailable, Mode=OneWay}"
Style="{StaticResource Card}"
Visibility="{x:Bind ViewModel.Spatial.IsVisible, Mode=OneWay}">
<StackPanel Spacing="4">
<TextBlock Style="{StaticResource BodyStrongTextBlockStyle}" Text="{loc:Loc Key=SpatialTitle}" />
<ToggleSwitch OffContent="{loc:Loc Key=StateOff}" OnContent="{loc:Loc Key=StateOn}" Header="{loc:Loc Key=ImmersiveAudio}" IsEnabled="{x:Bind ViewModel.Spatial.ImmersiveEnabled, Mode=OneWay}" IsOn="{x:Bind ViewModel.Spatial.ImmersiveAudio, Mode=TwoWay}" />
<ToggleSwitch OffContent="{loc:Loc Key=StateOff}" OnContent="{loc:Loc Key=StateOn}" Header="{loc:Loc Key=HeadTracking}" IsEnabled="{x:Bind ViewModel.Spatial.HeadTrackingEnabled, Mode=OneWay}" IsOn="{x:Bind ViewModel.Spatial.HeadTracking, Mode=TwoWay}" />
<TextBlock
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
Style="{StaticResource CaptionTextBlockStyle}"
Text="{x:Bind ViewModel.Spatial.Hint, Mode=OneWay}"
TextWrapping="Wrap" />
</StackPanel>
</Border>

<!-- Verhalten: nur Touch meldet sich selbst (0x1687), der Rest kommt per Lesen (protocol.md §8) -->
<Border
IsHitTestVisible="{x:Bind ViewModel.Behavior.IsAvailable, Mode=OneWay}"
Expand All @@ -316,6 +342,14 @@
<ToggleSwitch OffContent="{loc:Loc Key=StateOff}" OnContent="{loc:Loc Key=StateOn}" Header="{loc:Loc Key=TouchControls}" IsOn="{x:Bind ViewModel.Behavior.TouchControl, Mode=TwoWay}" />
<ToggleSwitch OffContent="{loc:Loc Key=StateOff}" OnContent="{loc:Loc Key=StateOn}" Header="{loc:Loc Key=AutoAnswer}" IsOn="{x:Bind ViewModel.Behavior.AutoAnswer, Mode=TwoWay}" />
<ToggleSwitch OffContent="{loc:Loc Key=StateOff}" OnContent="{loc:Loc Key=StateOn}" Header="{loc:Loc Key=ComfortCall}" IsOn="{x:Bind ViewModel.Behavior.ComfortCall, Mode=TwoWay}" />
<ComboBox
MinWidth="200"
Margin="0,4,0,0"
Header="{loc:Loc Key=CallTransparency}"
ItemsSource="{x:Bind ViewModel.Behavior.SidetoneOptions}"
SelectedIndex="{x:Bind ViewModel.Behavior.SidetoneIndex, Mode=TwoWay}"
Visibility="{x:Bind ViewModel.Behavior.ShowSidetone, Mode=OneWay}" />
<ToggleSwitch OffContent="{loc:Loc Key=StateOff}" OnContent="{loc:Loc Key=StateOn}" Header="{loc:Loc Key=BatteryProtection}" IsOn="{x:Bind ViewModel.Behavior.BatteryProtection, Mode=TwoWay}" Visibility="{x:Bind ViewModel.Behavior.ShowBatteryProtection, Mode=OneWay}" />
<ComboBox
MinWidth="200"
Margin="0,4,0,0"
Expand Down
4 changes: 2 additions & 2 deletions src/Momentum4.App/QuickPanel.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:loc="using:Momentum4.App.Localization"
Title="MOMENTUM 4 – Schnellzugriff">
Title="MOMENTUM Control">

<Grid Background="{StaticResource AmoledBackgroundBrush}" KeyDown="OnKeyDown">
<StackPanel
Expand All @@ -22,7 +22,7 @@
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<StackPanel Spacing="2">
<TextBlock Style="{StaticResource BodyStrongTextBlockStyle}" Text="MOMENTUM 4" />
<TextBlock Style="{StaticResource BodyStrongTextBlockStyle}" Text="{x:Bind ViewModel.ProductTitle, Mode=OneWay}" />
<TextBlock
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
Style="{StaticResource CaptionTextBlockStyle}"
Expand Down
Loading
Loading