View source
class SongTimeChange
package funkin.data.song
implements ICloneable<SongTimeChange>
import funkin.data.song.SongData
Available on all platforms
Static variables
Constructor
new(timeStamp:Float, bpm:Float, timeSignatureNum:Int = 4, timeSignatureDen:Int = 4, ?beatTime:Float, ?beatTuplets:Array<Int>)
Variables
optionalbeatTime:Float
Time in beats (int). The game will calculate further beat values based on this one, so it can do it in a simple linear fashion.
optionalbeatTuplets:Array<Int>
Beat tuplets (Arrayn (see above) or a single integer number.
Optional, defaults to [4].
bpm:Float
Quarter notes per minute (float). Cannot be empty in the first element of the list, but otherwise it's optional, and defaults to the value of the previous element.
optionaltimeSignatureDen:Int
Time signature denominator (int). Optional, defaults to 4. Should only ever be a power of two.