Skip to main content

ChartingUIWaveform

Kindclass
Packageeditors.charting
Full nameeditors.charting.ChartingUIWaveform
Sourcesource/editors/charting/ChartingUIWaveform.hx
Metadata@:access(flixel.sound.FlxSound._sound) @:access(openfl.media.Sound.__buffer) @:access(editors.ChartingState)

Public methods​

updateWaveform​

static function updateWaveform(state:ChartingState)
ParameterTypeDefault
stateChartingState—

View source

waveformData​

static function waveformData(buffer:AudioBuffer, bytes:Bytes, time:Float, endTime:Float, multiply:Float = 1, ?array:Array<Array<Array<Float>>>, ?steps:Float):Array<Array<Array<Float>>>
ParameterTypeDefault
bufferAudioBuffer—
bytesBytes—
timeFloat—
endTimeFloat—
multiply (optional)Float1
array (optional)Array<Array<Array<Float>>>—
steps (optional)Float—

View source