1## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting. 2 3 4[general] 5 6# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0 7; mode = normal 8 9# Accepts only non-negative values. 10; framerate = 60 11 12# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off 13# new as of 0.6.0 autosens of low values (dynamic range) 14# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0 15; autosens = 1 16; overshoot = 20 17 18# Manual sensitivity in %. If autosens is enabled, this will only be the initial value. 19# 200 means double height. Accepts only non-negative values. 20; sensitivity = 100 21 22# The number of bars (0-200). 0 sets it to auto (fill up console). 23# Bars' width and space between bars in number of characters. 24; bars = 0 25; bar_width = 2 26; bar_spacing = 1 27 28 29# Lower and higher cutoff frequencies for lowest and highest bars 30# the bandwidth of the visualizer. 31# Note: there is a minimum total bandwidth of 43Mhz x number of bars. 32# Cava will automatically increase the higher cutoff if a too low band is specified. 33; lower_cutoff_freq = 50 34; higher_cutoff_freq = 10000 35 36 37# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and 38# only check for input once per second. Cava will wake up once input is detected. 0 = disable. 39; sleep_timer = 0 40 41 42[input] 43 44# Audio capturing method. Possible methods are: 'pulse', 'alsa', 'fifo', 'sndio' or 'shmem' 45# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with. 46# 47# All input methods uses the same config variable 'source' 48# to define where it should get the audio. 49# 50# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink 51# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them). 52# 53# For alsa 'source' will be the capture device. 54# For fifo 'source' will be the path to fifo-file. 55# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address 56; method = pulse 57; source = auto 58 59; method = alsa 60; source = hw:Loopback,1 61 62; method = fifo 63; source = /tmp/mpd.fifo 64; sample_rate = 44100 65; sample_bits = 16 66 67; method = shmem 68; source = /squeezelite-AA:BB:CC:DD:EE:FF 69 70; method = portaudio 71; source = auto 72 73 74[output] 75 76# Output method. Can be 'ncurses' or 'raw'. 77# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data 78# stream of the bar heights that can be used to send to other applications. 79# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above. 80; method = ncurses 81 82# Visual channels. Can be 'stereo' or 'mono'. 83# 'stereo' mirrors both channels with low frequencies in center. 84# 'mono' outputs left to right lowest to highest frequencies. 85# 'mono_option' set mono to either take input from 'left', 'right' or 'average'. 86; channels = stereo 87; mono_option = average 88 89# Raw output target. A fifo will be created if target does not exist. 90; raw_target = /dev/stdout 91 92# Raw data format. Can be 'binary' or 'ascii'. 93; data_format = binary 94 95# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530). 96; bit_format = 16bit 97 98# Ascii max value. In 'ascii' mode range will run from 0 to value specified here 99; ascii_max_range = 1000 100 101# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters. 102# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)). 103; bar_delimiter = 59 104; frame_delimiter = 10 105 106 107 108[color] 109 110# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow. 111# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires 112# ncurses output method and a terminal that can change color definitions such as Gnome-terminal or rxvt. 113# if supported, ncurses mode will be forced on if user defined colors are used. 114# default is to keep current terminal color 115; background = default 116; foreground = default 117 118# Gradient mode, only hex defined colors (and thereby ncurses mode) are supported, 119# background must also be defined in hex or remain commented out. 1 = on, 0 = off. 120# You can define as many as 8 different colors. They range from bottom to top of screen 121; gradient = 1 122; gradient_count = 8 123; gradient_color_1 = '#59cc33' 124; gradient_color_2 = '#80cc33' 125; gradient_color_3 = '#a6cc33' 126; gradient_color_4 = '#cccc33' 127; gradient_color_5 = '#cca633' 128; gradient_color_6 = '#cc8033' 129; gradient_color_7 = '#cc5933' 130; gradient_color_8 = '#cc3333' 131 132 133 134[smoothing] 135 136# Percentage value for integral smoothing. Takes values from 0 - 100. 137# Higher values means smoother, but less precise. 0 to disable. 138; integral = 77 139 140# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable. 141; monstercat = 0 142; waves = 0 143 144# Set gravity percentage for "drop off". Higher values means bars will drop faster. 145# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off". 146; gravity = 100 147 148 149# In bar height, bars that would have been lower that this will not be drawn. 150; ignore = 0 151 152 153[eq] 154 155# This one is tricky. You can have as much keys as you want. 156# Remember to uncomment more then one key! More keys = more precision. 157# Look at readme.md on github for further explanations and examples. 158; 1 = 1 # bass 159; 2 = 1 160; 3 = 1 # midtone 161; 4 = 1 162; 5 = 1 # treble 163