From 4fe3521160499d4d1f68258e57a495a788d48382 Mon Sep 17 00:00:00 2001 From: Lucca Ketterer Date: Wed, 28 Apr 2021 00:52:16 +0200 Subject: [PATCH] default config tweaks --- client/cava.conf | 14 +++++++------- client/client.py | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/client/cava.conf b/client/cava.conf index 89b5a6b..89ae9f8 100644 --- a/client/cava.conf +++ b/client/cava.conf @@ -112,7 +112,7 @@ foreground = red # Percentage value for integral smoothing. Takes values from 0 - 100. # 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. ; monstercat = 1 @@ -120,7 +120,7 @@ integral = 100 # 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". -gravity = 300 +gravity = 200 # 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. # Remember to uncomment more then one key! More keys = more precision. # Look at readme.md on github for further explanations and examples. -; 1 = 1 # bass -; 2 = 1 -; 3 = 1 # midtone -; 4 = 1 -; 5 = 1 # treble +1 = 1 # bass +2 = 0 +3 = 0 # midtone +4 = 0 +5 = 0 # treble diff --git a/client/client.py b/client/client.py index a350d73..d2b4781 100755 --- a/client/client.py +++ b/client/client.py @@ -115,7 +115,7 @@ def ambient_light_thread(): active_color = '\033[0;32;40m' else: 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') send(rgb_to_hex(int(r_out*brighness),int(g_out*brighness),int(b_out*brighness))) time.sleep(0.01)