Navigation
API > API/Plugins > API/Plugins/HarmonixMetasound > API/Plugins/HarmonixMetasound/UMusicClockComponent
Description
Get The Current Seconds per Beat Based on the current tempo, advance rate and time signature
0 if the clock is stopped. Don't use this method, use GetCurrentBeatsPerSecond instead if possible because this method returns zero when the clock is stopped rather than inf, which is what it should be.
| Name | GetCurrentSecondsPerBeat |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMetasound/Public/HarmonixMetasound/Components/MusicClockComponent.h |
| Include Path | #include "HarmonixMetasound/Components/MusicClockComponent.h" |
| Source | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMetasound/Private/HarmonixMetasound/Components/MusicClockComponent.cpp |
UFUNCTION (BlueprintPure, Category="MusicClock")
float GetCurrentSecondsPerBeat() const