Advertisement
Guest User

cava

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