default config tweaks

This commit is contained in:
Lucca Ketterer 2021-04-28 00:52:16 +02:00
parent 6d460a7059
commit 4fe3521160
2 changed files with 8 additions and 8 deletions

View File

@ -112,7 +112,7 @@ foreground = red
# Percentage value for integral smoothing. Takes values from 0 - 100. # Percentage value for integral smoothing. Takes values from 0 - 100.
# Higher values means smoother, but less precise. 0 to disable. # Higher values means smoother, but less precise. 0 to disable.
integral = 100 integral = 20
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable. # Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
; monstercat = 1 ; monstercat = 1
@ -120,7 +120,7 @@ integral = 100
# Set gravity percentage for "drop off". Higher values means bars will drop faster. # Set gravity percentage for "drop off". Higher values means bars will drop faster.
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off". # Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
gravity = 300 gravity = 200
# In bar height, bars that would have been lower that this will not be drawn. # In bar height, bars that would have been lower that this will not be drawn.
@ -132,8 +132,8 @@ gravity = 300
# This one is tricky. You can have as much keys as you want. # This one is tricky. You can have as much keys as you want.
# Remember to uncomment more then one key! More keys = more precision. # Remember to uncomment more then one key! More keys = more precision.
# Look at readme.md on github for further explanations and examples. # Look at readme.md on github for further explanations and examples.
; 1 = 1 # bass 1 = 1 # bass
; 2 = 1 2 = 0
; 3 = 1 # midtone 3 = 0 # midtone
; 4 = 1 4 = 0
; 5 = 1 # treble 5 = 0 # treble

View File

@ -115,7 +115,7 @@ def ambient_light_thread():
active_color = '\033[0;32;40m' active_color = '\033[0;32;40m'
else: else:
active_color = '\033[0;31;40m' active_color = '\033[0;31;40m'
r_out,g_out,b_out = visualizer_2((r,g,b), 0.4) r_out,g_out,b_out = visualizer_2((r,g,b), 0.6)
print(active_color, round(r),round(g),round(b), round(r_out),round(g_out),round(b_out), '\033[0;37;40m') print(active_color, round(r),round(g),round(b), round(r_out),round(g_out),round(b_out), '\033[0;37;40m')
send(rgb_to_hex(int(r_out*brighness),int(g_out*brighness),int(b_out*brighness))) send(rgb_to_hex(int(r_out*brighness),int(g_out*brighness),int(b_out*brighness)))
time.sleep(0.01) time.sleep(0.01)