Navigation
API > API/Runtime > API/Runtime/AudioMixer > API/Runtime/AudioMixer/UQuartzClockHandle
Description
Returns the current progress until the next occurrence of the provided musical duration as a float value from 0 (previous beat) to 1 (next beat). This is useful for indexing into curves to animate parameters to musical time. Ms and Phase offsets are combined internally.
| Name | GetBeatProgressPercent |
| Type | function |
| Header File | /Engine/Source/Runtime/AudioMixer/Public/Quartz/AudioMixerClockHandle.h |
| Include Path | #include "Quartz/AudioMixerClockHandle.h" |
| Source | /Engine/Source/Runtime/AudioMixer/Private/Quartz/AudioMixerClockHandle.cpp |
UFUNCTION (BlueprintCallable, Category="Quantization",
Meta=(AutoCreateRefTerm="PhaseOffset", Keywords="BPM, Tempo"))
float GetBeatProgressPercent
(
EQuartzCommandQuantization QuantizationBoundary,
float PhaseOffset,
float MsOffset
)