Skip to content
ViktarL edited this page Apr 16, 2023 · 16 revisions

The cava module for karlstav/cava

Config

Addressed by cava. Repeats and refers to the original Cava configuration. For any unclear option please check original cava documentation

option typeof default description
cava_config string Path where cava configuration file is placed to
framerate integer 60 Frames per second. Is used as a replacement for interval
autosens integer 1 Will attempt to decrease sensitivity if the bars peak
sensitivity integer 100 Manual sensitivity in %
bars integer 12 The number of bars
lower_cutoff_freq long integer 50 Lower cutoff frequencies for lowest bars the bandwidth of the visualizer
higher_cutoff_freq long integer 10000 Higher cutoff frequencies for highest bars the bandwidth of the visualizer
sleep_timer integer 5 Seconds with no input before cava main thread goes to sleep mode
method string pulse Audio capturing method. Possible methods are: pipewire, pulse, alsa, fifo, sndio or shmem
source string auto See cava configuration
sample_rate long integer 44100 See cava configuration
sample_bits integer 16 See cava configuration
stereo bool true Visual channels
reverse bool false Displays frequencies the other way around
bar_delimiter integer 0 Each bar is separated by a delimiter. Use decimal value in ascii table(i.e. 59 = ";"). 0 means no delimiter
monstercat bool false Disables or enables the so-called "Monstercat smoothing" with of without "waves"
waves bool false Disables or enables the so-called "Monstercat smoothing" with of without "waves"
noise_reduction double 0.77 Range between 0 - 1. The raw visualization is very noisy, this factor adjust the integral and gravity filters to keep the signal smooth. 1 - will be very slow and smooth, 0 - will be fast but noisy
input_delay int 2 Sets the delay before fetching audio source thread start working. On author machine Waybar starts much faster then pipewire audio server, and without a little delay cava module fails due to pipewire is not ready
Clone this wiki locally