← 返回命令列表

Linux command

cava 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start audio visualizer

cava

Use custom config file

cava -p [/path/to/config]

Show version

cava -v

说明

cava (Console Audio Visualizer for ALSA) is a bar spectrum audio visualizer that displays real-time frequency analysis as animated bars in the terminal or on the desktop. It captures audio from the system and renders it as a colorful equalizer-style display. The visualizer supports multiple audio backends including ALSA, PulseAudio, PipeWire, JACK, sndio, and PortAudio. Output can be rendered through ncurses for terminal display, SDL for a desktop window, or raw data for piping to other programs. All visual and audio settings are controlled through a configuration file.

参数

-p _path_
Path to configuration file
-v
Print version

FAQ

What is the cava command used for?

cava (Console Audio Visualizer for ALSA) is a bar spectrum audio visualizer that displays real-time frequency analysis as animated bars in the terminal or on the desktop. It captures audio from the system and renders it as a colorful equalizer-style display. The visualizer supports multiple audio backends including ALSA, PulseAudio, PipeWire, JACK, sndio, and PortAudio. Output can be rendered through ncurses for terminal display, SDL for a desktop window, or raw data for piping to other programs. All visual and audio settings are controlled through a configuration file.

How do I run a basic cava example?

Run `cava` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p _path_ do in cava?

Path to configuration file