config 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. ## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting.
  2. [general]
  3. # Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
  4. ; mode = normal
  5. # Accepts only non-negative values.
  6. framerate = 60
  7. # 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
  8. # new as of 0.6.0 autosens of low values (dynamic range)
  9. # 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
  10. ; autosens = 1
  11. ; overshoot = 20
  12. # Manual sensitivity in %. Autosens must be turned off for this to take effect.
  13. # 200 means double height. Accepts only non-negative values.
  14. ; sensitivity = 100
  15. # The number of bars (0-200). 0 sets it to auto (fill up console).
  16. # Bars' width and space between bars in number of characters.
  17. ; bars = 0
  18. ; bar_width = 2
  19. ; bar_spacing = 1
  20. # Lower and higher cutoff frequencies for lowest and highest bars
  21. # the bandwidth of the visualizer.
  22. # Note: there is a minimum total bandwidth of 43Mhz x number of bars.
  23. # Cava will automatically increase the higher cutoff if a too low band is specified.
  24. ; lower_cutoff_freq = 50
  25. ; higher_cutoff_freq = 10000
  26. [input]
  27. # Audio capturing method. Possible methods are: 'pulse', 'alsa' or 'fifo'.
  28. # Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with.
  29. #
  30. # All input methods uses the same config variable 'source'
  31. # to define where it should get the audio.
  32. #
  33. # For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
  34. # (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
  35. #
  36. # For alsa 'source' will be the capture device.
  37. # For fifo 'source' will be the path to fifo-file.
  38. method = pulse
  39. source = auto
  40. ; method = alsa
  41. ; source = hw:Loopback,1
  42. ; method = fifo
  43. ; source = /tmp/mpd.fifo
  44. [output]
  45. # Ouput method. Can be 'ncurses', 'noncurses' or 'raw'.
  46. # 'noncurses' is for systems that does not suport ncurses.
  47. # 'raw' is a 16 bit data stream of the bar heights that can be used to send to other applications.
  48. # 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
  49. ; method = ncurses
  50. # Visual channels. Can be 'stereo' or 'mono'.
  51. # 'stereo' mirrors both channels with low frequencies in center.
  52. # 'mono' averages both channels and outputs left to right lowest to highest frequencies.
  53. ; channels = stereo
  54. # Raw output target. A fifo will be created if target does not exist.
  55. ; raw_target = /dev/stdout
  56. # Raw data format. Can be 'binary' or 'ascii'.
  57. ; data_format = binary
  58. # Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
  59. bit_format = 16bit
  60. # Ascii max value. In 'ascii' mode range will run from 0 to value specified here
  61. ; ascii_max_range = 1000
  62. # Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
  63. # Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
  64. ; bar_delimiter = 59
  65. ; frame_delimiter = 10
  66. [color]
  67. # Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
  68. # Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires a
  69. # terminal that can change color definitions such as Gnome-terminal or rxvt.
  70. ; background = black
  71. ; foreground = cyan
  72. # Gradient mode, only hex defined colors are supported, background must also be defined in hex
  73. # or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will
  74. # not able to restore color definitions on exit, simply restart your terminal to restore colors.
  75. gradient = 1
  76. gradient_color_1 = '#0099ff'
  77. gradient_color_2 = '#ff3399'
  78. [smoothing]
  79. # Percentage value for integral smoothing. Takes values from 0 - 100.
  80. # Higher values means smoother, but less precise. 0 to disable.
  81. ; integral = 70
  82. # Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
  83. ; monstercat = 1
  84. ; waves = 0;
  85. # Set gravity percentage for "drop off". Higher values means bars will drop faster.
  86. # Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
  87. ; gravity = 100
  88. # In bar height, bars that would have been lower that this will not be drawn.
  89. ; ignore = 0
  90. [eq]
  91. # This one is tricky. You can have as much keys as you want.
  92. # Remember to uncomment more then one key! More keys = more precision.
  93. # Look at readme.md on github for further explanations and examples.
  94. ; 1 = 1 # bass
  95. ; 2 = 1
  96. ; 3 = 1 # midtone
  97. ; 4 = 1
  98. ; 5 = 1 # treble