Etterna 0.74.4
|
Allows for adjusting the sync of a song. More...
#include <AdjustSync.h>
Static Public Attributes | |
static std::vector< TimingData > | s_vpTimingDataOriginal |
The original TimingData before adjustments were made. | |
static float | s_fGlobalOffsetSecondsOriginal = 0.0f |
static const int | OFFSET_SAMPLE_COUNT = 24 |
The minimum number of steps to hit for syncing purposes. | |
static float | s_fAutosyncOffset [OFFSET_SAMPLE_COUNT] |
static int | s_iAutosyncOffsetSample = 0 |
static float | s_fStandardDeviation = 0.0f |
Allows for adjusting the sync of a song.
This class defines two ways of adjusting the sync of a song. The first adjusts only the offset, "on the fly". It can adjust either the song itself or the machine. The other style adjusts both the BPM and the offset of the song, but it needs more data.
|
static |
The original TimingData before adjustments were made.
This is designed to work with Split Timing.