An ultra-responsive, zero-latency bar spectrum audio visualizer engineered specifically for KimSystem (Arch Linux running on Android PRoot).
Includes both a standalone pure terminal audio visualizer (kimsystem-visualizer) and a native CAVA integration preconfigured for KimSystem's PulseAudio monitor subsystem.
Standard terminal visualizers rely on direct Linux /dev/snd ALSA devices, which do not exist inside Android containers due to SELinux restrictions.
KimSystem Visualizer bridges this gap by directly tapping into KimSystem's dual-tier audio architecture:
- PulseAudio Monitor Sink (
kimsystem_sink.monitor): Visualizes live audio rendered by any Linux audio application. - Real-Time PCM Engine (
127.0.0.1:48293): Simultaneously streams audio to the phone's hardware speakers while computing real-time FFT spectrum bars in the terminal. - Piped PCM Stdin: Visualizes raw audio piped directly from tools like
ffmpegorsox.
- 8-Level Sub-Character Unicode Blocks: Smooth vertical resolution using
▁,▂,▃,▄,▅,▆,▇,█. - Peak Hold with Gravitational Falloff: Accurate physics simulation with peak hold dots/bars (
▔) and customizable decay. - 8 TrueColor 24-Bit Gradient Themes:
kimsystem(Default): Signature Arch Navy (#0e3a6c) → Arch Blue (#1793d1) → Electric Cyan (#00f0ff) → Android Green (#3ddc84) → Cyber Lime (#76ff03)cyberpunk: Neon Cyan → Electric Violet → Hot Pinkmatrix: Forest Green → Cyber Limesunset: Deep Purple → Amber Orange → Golden Yellowfire: Crimson Red → Flame Orange → Golden Amberrainbow: Horizontal chromatic rainbow spectrumcava: Classic CAVA Deep Blue → Cyanmonokai: Charcoal → Acid Green → Vivid Orange → Fuchsia
- Logarithmic Frequency Perception: Maps 20 Hz – 20,000 Hz according to the human ear's hearing curve (sub-bass, bass, mids, treble).
- Multiple Audio Sources:
--pulse: Captures live system audio via PulseAudio monitor.--play <file>: Plays audio to phone speakers while visualizing in real-time.--yt <query>: Searches YouTube, streams audio to phone speakers, and displays live visualizer bars.--demo: Interactive synthesized polyphonic EDM/electronic music generator.--stdin: Reads raw S16LE PCM stream from stdin.--cava: Launches the official CAVA binary using the tailored KimSystem profile.
- Interactive Runtime Controls: Adjust sensitivity, switch themes, toggle peaks, or mute speaker on the fly.
- Auto Terminal Resize: Automatically adapts bar counts and height on window resize (
SIGWINCH).
| Key | Action |
|---|---|
q / ESC / Ctrl+C |
Quit and cleanly restore terminal cursor |
c |
Cycle color theme |
↑ / + |
Increase sensitivity |
↓ / - |
Decrease sensitivity |
→ |
Increase number of bars |
← |
Decrease number of bars |
r |
Reset bar count to screen auto-fit |
p |
Toggle peak indicators |
m |
Mute / unmute speaker playback |
h |
Toggle HUD header / FPS counter |
To install locally:
cd /Projects/linux/kimsystem-visualizer
./install.shTo uninstall:
cd /Projects/linux/kimsystem-visualizer
./uninstall.shTest your terminal colors and visualizer physics with procedural electronic music:
kimsystem-visualizer --demo(Tip: Press m to mute or unmute audio to the phone speaker, or pass --no-speaker to run silent).
Search YouTube and stream music directly to your phone's speakers with live visualizer bars:
kimsystem-visualizer --yt "daft punk get lucky"kimsystem-visualizer --play ~/Music/song.mp3Visualize any background audio currently playing through PulseAudio:
kimsystem-visualizer --pulseffmpeg -re -i myvideo.mp4 -f s16le -ar 48000 -ac 2 - | kimsystem-visualizer --stdinLaunch vanilla CAVA using the pre-tuned KimSystem configuration (~/.config/cava/config):
cava
# or
cava-kimsystemkimsystem-visualizer/
├── bin/
│ └── kimsystem-visualizer # Main executable visualizer CLI
├── config/
│ └── cava.conf # Tuned CAVA configuration for KimSystem
├── scripts/
│ └── cava-kimsystem.sh # Launcher script for native CAVA
├── install.sh # Complete installer
├── uninstall.sh # Clean uninstaller
├── README.md # Documentation
└── LICENSE # MIT License
This project is licensed under the MIT License.