1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-26 15:07:14 +00:00
This commit is contained in:
Cameron Taylor 2022-08-26 16:46:58 -04:00
parent 07fb4039dc
commit 36e6d6bd91
2 changed files with 17 additions and 3 deletions

View file

@ -0,0 +1,12 @@
package funkin.audiovis;
import flixel.FlxSprite;
import flixel.group.FlxSpriteGroup.FlxTypedSpriteGroup;
class ABot extends FlxTypedSpriteGroup<FlxSprite>
{
public function new()
{
super();
}
}

View file

@ -1,8 +1,10 @@
package funkin.audiovis;
import funkin.audiovis.dsp.FFT;
import flixel.math.FlxMath;
import flixel.system.FlxSound;
import funkin.audiovis.dsp.FFT;
import haxe.Timer;
import lime.system.ThreadPool;
import lime.utils.Int16Array;
using Lambda;
@ -51,8 +53,8 @@ class VisShit
final maxFreq = 4000.01;
final melodicBandPass = function(k:Int, s:Float)
{
// final freq = indexToFreq(k);
// final filter = freq > minFreq - binSize && freq < maxFreq + binSize ? 1 : 0;
final freq = indexToFreq(k);
final filter = freq > minFreq - binSize && freq < maxFreq + binSize ? 1 : 0;
return s;
};