Codename LogoCodename Logo

funkin.backend.system.Conductor

APIWiki

Static variables

View in GitHub

staticbeatsPerMeasure:Float = 4

Number of beats per mesure (top number in time signature). Defaults to 4.

View in GitHub

staticbpm:Float = 100

Current BPM

View in GitHub

staticbpmChangeMap:Array<BPMChangeEvent> = []

Array of all BPM changes that have been mapped.

View in GitHub

staticcrochet:Float = ((60 / bpm) * 1000)

Current Crochet (time per beat), in milliseconds.

View in GitHub

staticcurBeat:Int = 0

Current beat

View in GitHub

staticcurBeatFloat:Float = 0

Current beat, as a Float (ex: 1.24, instead of 1)

View in GitHub

staticcurMeasure:Int = 0

Current measure

View in GitHub

staticcurMeasureFloat:Float = 0

Current measure, as a Float (ex: 1.24, instead of 1)

View in GitHub

staticcurStep:Int = 0

Current step

View in GitHub

staticcurStepFloat:Float = 0

Current step, as a Float (ex: 4.94, instead of 4)

View in GitHub

staticonBPMChange:FlxTypedSignal<Float ‑> Void> = new FlxTypedSignal()

View in GitHub

staticonBeatHit:FlxTypedSignal<Int ‑> Void> = new FlxTypedSignal()

View in GitHub

staticonMeasureHit:FlxTypedSignal<Int ‑> Void> = new FlxTypedSignal()

FlxSignals

View in GitHub

staticonStepHit:FlxTypedSignal<Int ‑> Void> = new FlxTypedSignal()

View in GitHub

staticsongOffset:Float = 0

Offset of the song

staticsongPosition:Float

Current position of the song, in milliseconds.

View in GitHub

staticstepCrochet:Float = crochet / 4

Current StepCrochet (time per step), in milliseconds.

View in GitHub

staticstepsPerBeat:Float = 4

Number of steps per beat (bottom number in time signature). Defaults to 4.

Static methods

View in GitHub

staticchangeBPM(newBpm:Float, beatsPerMeasure:Float = 4, stepsPerBeat:Float = 4):Void

View in GitHub

staticgetStepForTime(time:Float):Float

View in GitHub

staticgetTimeForStep(step:Float):Float

View in GitHub

staticinit():Void

View in GitHub

staticmapBPMChanges(song:ChartData):Void

Maps BPM changes from a song.

Parameters:

song

Song to map BPM changes from.