mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 08:07:54 -05:00
more bro charting in progres
This commit is contained in:
parent
d00f2268f9
commit
a2eeaf5c3c
1 changed files with 2 additions and 2 deletions
|
@ -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