Krolyxon
Commit fd20f3a

Branches

Refs →

dotfiles-x11.configcavaconfig

168 lines · 5.5 KB

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
7mode = 0
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', 'noncurses' or 'raw'.
77# 'noncurses' uses a custom framebuffer technique and draws only changes
78# from frame to frame. 'ncurses' is default if supported
79#
80# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
81# stream of the bar heights that can be used to send to other applications.
82# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
83; method = ncurses
84
85# Visual channels. Can be 'stereo' or 'mono'.
86# 'stereo' mirrors both channels with low frequencies in center.
87# 'mono' outputs left to right lowest to highest frequencies.
88# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
89; channels = stereo
90; mono_option = average
91
92# Raw output target. A fifo will be created if target does not exist.
93; raw_target = /dev/stdout
94
95# Raw data format. Can be 'binary' or 'ascii'.
96; data_format = binary
97
98# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
99; bit_format = 16bit
100
101# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
102; ascii_max_range = 1000
103
104# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
105# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
106; bar_delimiter = 59
107; frame_delimiter = 10
108
109
110
111[color]
112
113# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
114# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires
115# ncurses output method and a terminal that can change color definitions such as Gnome-terminal or rxvt.
116# if supported, ncurses mode will be forced on if user defined colors are used.
117# default is to keep current terminal color
118; background = #ff6c6b
119; foreground = #ff6c6b
120
121# Gradient mode, only hex defined colors (and thereby ncurses mode) are supported,
122# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
123# You can define as many as 8 different colors. They range from bottom to top of screen
124# gradient = 1
125# gradient_count = 2
126# gradient_color_1 = '#E1FFAF'
127# gradient_color_2 = '#E1FFAF'
128# gradient_color_3 = '#a6cc33'
129# gradient_color_4 = '#cccc33'
130# gradient_color_5 = '#cca633'
131# gradient_color_6 = '#cc8033'
132# gradient_color_7 = '#cc5933'
133# gradient_color_8 = '#c792ea'
134
135
136
137[smoothing]
138
139# Percentage value for integral smoothing. Takes values from 0 - 100.
140# Higher values means smoother, but less precise. 0 to disable.
141; integral = 77
142
143# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
144; monstercat = 0
145; waves = 0
146
147# Set gravity percentage for "drop off". Higher values means bars will drop faster.
148# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
149; gravity = 100
150
151
152# In bar height, bars that would have been lower that this will not be drawn.
153; ignore = 0
154
155
156[eq]
157
158# This one is tricky. You can have as much keys as you want.
159# Remember to uncomment more then one key! More keys = more precision.
160# Look at readme.md on github for further explanations and examples.
161 1 = 1 # bass
162 2 = 1
163 3 = 1 # midtone
164 4 = 1
165 5 = 1 # treble
166
167
168