new chart editor, sm file support, bpm changes, and scroll speed changes.
This commit is contained in:
30
source/OFLWaveform.hx
Normal file
30
source/OFLWaveform.hx
Normal file
@ -0,0 +1,30 @@
|
||||
import lime.media.AudioSource;
|
||||
import lime.media.AudioBuffer;
|
||||
import openfl.media.Sound;
|
||||
import openfl.display.Graphics;
|
||||
import openfl.display.Sprite;
|
||||
|
||||
class OFLWaveform extends Sprite
|
||||
{
|
||||
public var musicLength = 0;
|
||||
public var _x = 0;
|
||||
public var _y = 0;
|
||||
|
||||
public var _sound:String;
|
||||
|
||||
function new(x,y,musicLength, data:String)
|
||||
{
|
||||
super();
|
||||
|
||||
_x = x;
|
||||
_y = y;
|
||||
_sound = data;
|
||||
this.musicLength = musicLength;
|
||||
}
|
||||
|
||||
public function drawWaveform()
|
||||
{
|
||||
var gfx:Graphics = graphics;
|
||||
gfx.clear();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user