mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-02-18 20:55:12 -05:00
waveform in progres
This commit is contained in:
parent
0704e9530b
commit
ca9f42fedf
1 changed files with 7 additions and 0 deletions
|
@ -110,6 +110,7 @@ import haxe.ui.events.UIEvent;
|
||||||
import haxe.ui.events.UIEvent;
|
import haxe.ui.events.UIEvent;
|
||||||
import haxe.ui.focus.FocusManager;
|
import haxe.ui.focus.FocusManager;
|
||||||
import openfl.display.BitmapData;
|
import openfl.display.BitmapData;
|
||||||
|
import funkin.audio.visualize.PolygonSpectogram;
|
||||||
|
|
||||||
using Lambda;
|
using Lambda;
|
||||||
|
|
||||||
|
@ -1793,6 +1794,8 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
||||||
menuBG.zIndex = -100;
|
menuBG.zIndex = -100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var oppSpectogram:PolygonSpectogram;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Builds and displays the chart editor grid, including the playhead and cursor.
|
* Builds and displays the chart editor grid, including the playhead and cursor.
|
||||||
*/
|
*/
|
||||||
|
@ -5012,6 +5015,10 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
||||||
gridPlayheadScrollArea.setGraphicSize(Std.int(gridPlayheadScrollArea.width), songLengthInPixels);
|
gridPlayheadScrollArea.setGraphicSize(Std.int(gridPlayheadScrollArea.width), songLengthInPixels);
|
||||||
gridPlayheadScrollArea.updateHitbox();
|
gridPlayheadScrollArea.updateHitbox();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var vis:PolygonSpectogram = new PolygonSpectogram(audioInstTrack);
|
||||||
|
vis.generateSection(0, 4);
|
||||||
|
add(vis);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue