makepad/apps/amp
2026-10-25 13:51:31 +01:00
..
resources work: realism step 1 (lit tree impostors, terrain ecology rules, aerial perspective, quality tiers, brake lights, Vulkan GPU prof), hub survives WM restarts + fast start + CUDA builds, Desk Link display fixes (exit restore, flip watchdog, nice-10 children, timeline), live-edit restart/layout fixes, harness fixes, Amp parallel song writing 2026-10-24 23:38:45 +02:00
src work: AI Hub desktop app (in-process hub, Enabled + per-service switches, idle turn-off, fleet status, shared hub panel) + cross-platform tray API (macOS menu bar, Windows notification area) 2026-10-25 13:51:31 +01:00
tests apps: Code, Translator, Weather, Amp and the rest 2026-10-13 12:26:21 +02:00
Cargo.toml work: register-allocator copy-reuse miscompile fix (fuzz seed 0x475f7b26c8316268) + std RandomState from OS randomness, Desk Link tiles/interleave on multiple encode engines (protocol v2), WM gaming pause for the hub (Automatic/UI First/AI First/Unavailable), WM hub child builds with CUDA, JIT ring shows activity + inspect jit, Amp AI music mode (yue2 + hub writer), stale WM test fix 2026-10-24 20:25:04 +02:00
ci.splash apps: Code, Translator, Weather, Amp and the rest 2026-10-13 12:26:21 +02:00
CREDITS.md work: register-allocator copy-reuse miscompile fix (fuzz seed 0x475f7b26c8316268) + std RandomState from OS randomness, Desk Link tiles/interleave on multiple encode engines (protocol v2), WM gaming pause for the hub (Automatic/UI First/AI First/Unavailable), WM hub child builds with CUDA, JIT ring shows activity + inspect jit, Amp AI music mode (yue2 + hub writer), stale WM test fix 2026-10-24 20:25:04 +02:00
README.md apps: Camera, splash-live, Translator, Amp, Code, Route offline 2026-10-14 07:24:22 +02:00

Amp

Makepad Amp is one music player for the music systems installed on the machine, drawn as a piece of hardware. Each system is a MusicSource (src/source): Spotify through the command line its desktop app ships, the Spotify desktop app's own player, D-Bus players on Linux, and local files (mp3, ogg, flac) that Amp plays itself.

  • A 20-band graphic equalizer and output level on the sound the player makes (Amp taps the player's output on macOS; macOS asks once).
  • The screen shows a spectrum or the Visualizer: presets rendered from the sound (libs/milkdrop). Amp ships a few presets of its own (resources/visualizer); the preset browser downloads a larger pack on request. A tap on the picture shows it alone, a sideways swipe changes the preset, and a pop-out window shows it edge to edge. On a phone the picture renders at a fixed pixel budget, scaled up to the screen.
  • With no music system to connect to (a phone, Spotify not running) Amp opens on the cached songs, and Play plays them.
  • Styles (resources/styles) and layouts (resources/layouts) restyle and rearrange the device; the AI stylist writes styles and visualizer presets with your own Claude Code or Codex.
  • A queue, folders, playlists and search over every connected system.
cargo run --release -p makepad-app-amp
cargo run -p makepad-run --release -- run makepad-app-amp   # makepad run (JIT)

Data lives in local/amp/ inside the Makepad checkout (an Amp installed outside a checkout uses the app's data folder). The portable offline library is local/amp/offline/ (songdb.json, songs/, art/): Amp shows and plays those songs without a Spotify connection, and copying the folder to another checkout carries the songs, metadata and artwork along. AMP_DATA_DIR overrides the data folder for an isolated run. Environment: MUSIC_MUTE=1 processes the sound without playing it (test runs).

Credits and third-party notes: CREDITS.md.