mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-29 08:16:58 +00:00
more bro charting in progres
This commit is contained in:
parent
d00f2268f9
commit
a2eeaf5c3c
|
@ -14,7 +14,7 @@ class SpectogramSprite extends FlxSprite
|
||||||
{
|
{
|
||||||
super();
|
super();
|
||||||
|
|
||||||
makeGraphic(200, 200, FlxColor.BLUE);
|
makeGraphic(200, 200, FlxColor.BLACK);
|
||||||
}
|
}
|
||||||
|
|
||||||
override function update(elapsed:Float)
|
override function update(elapsed:Float)
|
||||||
|
@ -23,7 +23,7 @@ class SpectogramSprite extends FlxSprite
|
||||||
{
|
{
|
||||||
if (FlxG.sound.music.playing)
|
if (FlxG.sound.music.playing)
|
||||||
{
|
{
|
||||||
FlxSpriteUtil.drawRect(this, 0, 0, width, height, FlxColor.BLUE);
|
FlxSpriteUtil.drawRect(this, 0, 0, width, height, 0x45000000);
|
||||||
|
|
||||||
@:privateAccess
|
@:privateAccess
|
||||||
var audioData:Int16Array = FlxG.sound.music._channel.__source.buffer.data; // jank and hacky lol!
|
var audioData:Int16Array = FlxG.sound.music._channel.__source.buffer.data; // jank and hacky lol!
|
||||||
|
|
Loading…
Reference in a new issue