Skip to content

Conversation

@WeekendSuperhero
Copy link
Owner

@WeekendSuperhero WeekendSuperhero commented Dec 6, 2025

Summary 🎯

Adds powerful debugging tools: CLI dump subcommands for layout/palettes/info, interactive graphical panel visualizer (Macroquad window: rotate, click-to-flash panels), and TUI visualizer upgrades (palette switching, axis/sort controls).

Key improvements: Loopback audio detection (BlackHole/etc.), device auto-power-on, global orientation-aware sorting, instant transitions (transition_time: -1).

New Features 🚀

CLI dump (standalone, no TUI)

Command What it does
audiotui dump layout Panel table (ID/shape/X/Y/O/side) + raw /panelLayout/layout JSON
audiotui dump palettes All built-in palettes w/ hues
audiotui dump info Full /api/v1/ device info (no auth needed)
audiotui dump layout-graphical Macroquad window: Visual layout w/ rotation, click panels to flash! (ESC=close)

TUI Visualizer (V key) ✨

  • 1-0: Switch palettes (shows first 10)
  • A: Toggle X/Y axis
  • P/S: Primary/secondary sort (Asc/Desc)
  • Live status display

Other

  • Audio: Prefers loopback (BlackHole/Monitor) > mic (w/ install hint)
  • Device: Auto on + brightness=100 if needed
  • Config: transition_time: i16 (-1=instant)
  • Sorting: Respects global orientation

Screenshots 📸

(Graphical viz shows triangles=red, squares=green, hex= blue, etc. Controllers= yellow trapezoids)

  • Layout table: Clean bounds + stats
  • Macroquad: Clickable, rotatable panels w/ flashing!

Breaking Changes ⚠️

  • transition_time: u16i16 (-1=instant/start-frame)
  • New subcommands: audiotui dump ...

Usage

@WeekendSuperhero WeekendSuperhero changed the title manny changes so stopping here feat: Add dump commands, graphical layout visualizer, and visualizer improvements Dec 7, 2025
@WeekendSuperhero WeekendSuperhero merged commit ada53de into main Dec 9, 2025
3 checks passed
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