Commit Graph
6 Commits
Author SHA1 Message Date
SpriteandClaude Opus 5.5 cff5f49dc3 Smooth wheel scrolling: route scroll over sliders to the list or the volume
CI / check (pull_request) Successful in 9s
CI / native (pull_request) Successful in 1m15s
GtkRange's built-in scroll controller moved a slider by its page increment
(10%) per wheel detent, ignored the tilt wheel and returned GDK_EVENT_STOP
for every scroll event, including a touchpad's vertical swipe it did nothing
with. So scrolling a list stopped dead whenever a slider passed under the
pointer and changed that stream's volume instead.

Sliders now replace that controller with one that asks MoonBit
(@model.SliderWheel) synchronously where each event goes:
- while the list is moving (it moved or was sent a scroll < 600 ms ago,
  kinetic deceleration included) events keep scrolling the list;
- otherwise a mouse wheel changes the volume by 2% per detent, fractional
  for high-resolution wheels, tilt wheel included;
- a touchpad gesture is decided at its first movement: mainly vertical
  scrolls the list (kinetic), mainly horizontal moves the knob with the
  fingers (physical direction).

Measured under Xvfb with XTest and 8 playback streams: 12 wheel notches
over a row title used to scroll 3 times and drop a stream from 100% to 20%;
now the list scrolls to the end and no volume changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 06:44:52 +00:00
Sprite 011dab35a2 Overhaul icons: bundled Lucide symbolics, soft tiles, mixer app icon, container host icons
CI / check (pull_request) Successful in 10s
CI / native (pull_request) Successful in 1m15s
2026-11-23 05:35:32 +00:00
nandi 1746884744 Follow the desktop accent colour and colour scheme (XDG portal) (#3)
CI / check (push) Successful in 9s
CI / native (push) Successful in 1m14s
2026-11-23 01:56:20 +00:00
nandi 02b08cb471 Better icons: device/app icon chains, volume icons, app icon (#2)
CI / check (push) Successful in 10s
CI / native (push) Successful in 1m10s
2026-11-23 01:07:41 +00:00
nandiandClaude Opus 5.5 f08f241edb Add live peak meters (pavucontrol-style level bars)
CI / check (push) Successful in 10s
CI / native (push) Successful in 1m39s
Each row on Playback, Output Devices and Input Devices gets a level bar
under its slider. A meter is a small capture pw_stream on WirePlumber's
pw_core with the properties pipewire-pulse gives pavucontrol's peak
streams (stream.monitor, target.object, stream.capture.sink for sinks);
its process callback folds samples into a peak that a 40 ms GUI timer
reads, maps with the slider's cubic curve and decays smoothly.

- Only the visible tab is metered; output/stream meters are passive.
- stream.monitor nodes (ours and pavucontrol's) are hidden from the tabs.
- moonmix-probe gains `meter <id>`; the smoke test now plays noise and
  checks the stream and sink meters see it.
- Screenshot mode holds the meters still before capturing, since a
  constantly redrawing window never yields a frame under broadway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:33:12 -08:00
nandi 92ae5cdbfe Add moonmix: pavucontrol-style PipeWire mixer in MoonBit (WirePlumber + GTK4) (#1)
CI / check (push) Successful in 9s
CI / native (push) Successful in 1m1s
2026-11-22 23:52:37 +00:00