1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-27 23:46:45 +00:00

more bro charting in progres

This commit is contained in:
Cameron Taylor 2021-09-16 14:21:11 -04:00
parent d00f2268f9
commit a2eeaf5c3c

View file

@ -14,7 +14,7 @@ class SpectogramSprite extends FlxSprite
{
super();
makeGraphic(200, 200, FlxColor.BLUE);
makeGraphic(200, 200, FlxColor.BLACK);
}
override function update(elapsed:Float)
@ -23,7 +23,7 @@ class SpectogramSprite extends FlxSprite
{
if (FlxG.sound.music.playing)
{
FlxSpriteUtil.drawRect(this, 0, 0, width, height, FlxColor.BLUE);
FlxSpriteUtil.drawRect(this, 0, 0, width, height, 0x45000000);
@:privateAccess
var audioData:Int16Array = FlxG.sound.music._channel.__source.buffer.data; // jank and hacky lol!