Song

ScriptableObject

Core class used by a lot of components in Rhythm Engine which holds the basic song data

FieldDescription

AudioClip Clip

The audio clip to use for this song

float FirstBeatOffset

This offset should be used to delay the visual aspects of your game. As an example in a mania game, you would use this to delay the note press time (and not to add an offset to the input time)

bool Looping

Automatically loop the song after it's over. Setting this will automatically set the Loop property of the AudioSource to true

float BaseBpm

The BPM of the song. Used to calculate beat timing

List<BpmChange> BpmChanges

The BPM changes of the song. Used to calculate beat timing

float FirstBeatOffsetInSec

First beat offset in seconds

Last updated