Navigation
API > API/Plugins > API/Plugins/HarmonixMetasound > API/Plugins/HarmonixMetasound/UMusicClockComponent
Description
NOTE: Working in ticks is a little risky. Midi files have have different numbers of ticks per quarter note, Ticks change duration with tempo changes, etc. So we don't expose ticks to blueprints and recommend using them in c++ code. That said, sometimes there is a use for them... so...
| Name | GetTicksFromBarOne |
| 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 |
float GetTicksFromBarOne
(
ECalibratedMusicTimebase Timebase
) const