Advertisement
Andy3153

Cava config

Jul 21st, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.47 KB | None | 0 0
  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 %. Autosens must be turned off for this to take effect.
  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. # FFT buffer is set in the exponent of 2 and must be between 8 - 16, 8 = 256, 16 = 65536
  37. # this is the audio buffer used to create the spectrum
  38. # increasing the will improve the accuracy of the visualization,
  39. # but will also make it slower and increase CPU usage
  40. # anything below 10 and above 13 is considered experimental.
  41. FFTbufferSize = 12;
  42.  
  43.  
  44.  
  45. [input]
  46.  
  47. # Audio capturing method. Possible methods are: 'pulse', 'alsa', 'fifo', 'sndio' or 'shmem'
  48. # Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with.
  49. #
  50. # All input methods uses the same config variable 'source'
  51. # to define where it should get the audio.
  52. #
  53. # For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
  54. # (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
  55. #
  56. # For alsa 'source' will be the capture device.
  57. # For fifo 'source' will be the path to fifo-file.
  58. # 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
  59. method = pulse
  60. source = auto
  61.  
  62. ; method = alsa
  63. ; source = hw:Loopback,1
  64.  
  65. ; method = fifo
  66. ; source = /tmp/mpd.fifo
  67. ; sample_rate = 44100
  68. ; sample_bits = 16
  69.  
  70. ; method = shmem
  71. ; source = /squeezelite-AA:BB:CC:DD:EE:FF
  72.  
  73. ; method = portaudio
  74. ; source = auto
  75.  
  76.  
  77. [output]
  78.  
  79. # Ouput method. Can be 'ncurses', 'noncurses' or 'raw'.
  80. # 'noncurses' is for systems that does not suport ncurses.
  81. # 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
  82. # stream of the bar heights that can be used to send to other applications.
  83. # 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
  84. method = ncurses
  85.  
  86. # Visual channels. Can be 'stereo' or 'mono'.
  87. # 'stereo' mirrors both channels with low frequencies in center.
  88. # 'mono' outputs left to right lowest to highest frequencies.
  89. # 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
  90. ; channels = stereo
  91. ; mono_option = average
  92.  
  93. # Raw output target. A fifo will be created if target does not exist.
  94. ; raw_target = /dev/stdout
  95.  
  96. # Raw data format. Can be 'binary' or 'ascii'.
  97. ; data_format = binary
  98.  
  99. # Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
  100. ; bit_format = 16bit
  101.  
  102. # Ascii max value. In 'ascii' mode range will run from 0 to value specified here
  103. ; ascii_max_range = 1000
  104.  
  105. # Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
  106. # Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
  107. ; bar_delimiter = 59
  108. ; frame_delimiter = 10
  109.  
  110.  
  111.  
  112. [color]
  113.  
  114. # Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
  115. # Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires a
  116. # terminal that can change color definitions such as Gnome-terminal or rxvt.
  117. ; background = black
  118. ; foreground = cyan
  119.  
  120. # Gradient mode, only hex defined colors are supported, background must also be defined in hex
  121. # or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will
  122. # not able to restore color definitions on exit, simply restart your terminal to restore colors.
  123. gradient = 1
  124. gradient_count = 2
  125. #gradient_color_1 = '#ff3399'
  126. #gradient_color_2 = '#0099ff'
  127. gradient_color_2 = '#5e81ac' #color that is down
  128. gradient_color_1 = '#8fbcbb' #color that is up
  129.  
  130.  
  131.  
  132. [smoothing]
  133.  
  134. # Percentage value for integral smoothing. Takes values from 0 - 100.
  135. # Higher values means smoother, but less precise. 0 to disable.
  136. #; integral = 77
  137. integral = 40
  138.  
  139. # Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
  140. monstercat = 0
  141. waves = 0
  142.  
  143. # Set gravity percentage for "drop off". Higher values means bars will drop faster.
  144. # Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
  145. gravity = 200
  146.  
  147.  
  148. # In bar height, bars that would have been lower that this will not be drawn.
  149. ignore = 0
  150.  
  151.  
  152. [eq]
  153.  
  154. # This one is tricky. You can have as much keys as you want.
  155. # Remember to uncomment more then one key! More keys = more precision.
  156. # Look at readme.md on github for further explanations and examples.
  157. 1 = 1 # bass
  158. 2 = 1
  159. 3 = 1 # midtone
  160. 4 = 1
  161. 5 = 1 # treble
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement