From 4eea9b76e7393601b857168631bdb1eb5960a0ae Mon Sep 17 00:00:00 2001
From: Cameron Taylor <cameron.taylor.ninja@gmail.com>
Date: Tue, 19 Mar 2024 13:04:58 -0700
Subject: [PATCH] idk assets revert this if I busted shit here lol

---
 hmm.json                                 |  2 +-
 source/funkin/audio/visualize/ABotVis.hx | 10 ++++++----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/hmm.json b/hmm.json
index 3e5c07c29..04c09e50f 100644
--- a/hmm.json
+++ b/hmm.json
@@ -49,7 +49,7 @@
       "name": "funkVis",
       "type": "git",
       "dir": null,
-      "ref": "7ed1f8fa6d8ca580f2359254482578a128be7ab8",
+      "ref": "0ac2fffa67fd30563df97c66718551efa92d283e",
       "url": "https://github.com/FunkinCrew/funkVis"
     },
     {
diff --git a/source/funkin/audio/visualize/ABotVis.hx b/source/funkin/audio/visualize/ABotVis.hx
index 05131b795..a8b6fb937 100644
--- a/source/funkin/audio/visualize/ABotVis.hx
+++ b/source/funkin/audio/visualize/ABotVis.hx
@@ -57,8 +57,9 @@ class ABotVis extends FlxTypedSpriteGroup<FlxSprite>
   public function initAnalyzer()
   {
     @:privateAccess
-    analyzer = new SpectralAnalyzer(7, new AudioClip(cast snd._channel.__source), 0.06, 30);
-    analyzer.fftN = 2048;
+    analyzer = new SpectralAnalyzer(7, new AudioClip(cast snd._channel.__source), 0.01, 30);
+    analyzer.maxDb = -35;
+    // analyzer.fftN = 2048;
   }
 
   var visTimer:Float = -1;
@@ -70,8 +71,7 @@ class ABotVis extends FlxTypedSpriteGroup<FlxSprite>
 
     // updateFFT(elapsed);
 
-    if (analyzer != null) drawFFT();
-
+    //
     super.update(elapsed);
   }
 
@@ -82,6 +82,8 @@ class ABotVis extends FlxTypedSpriteGroup<FlxSprite>
 
   override function draw()
   {
+    if (analyzer != null) drawFFT();
+
     super.draw();
   }