struct
FAudioClock
A musical grid laid over the engine's PCM clock (UE's Quartz role). Because both the grid and the start of a scheduled sound are frame numbers on the same clock the mixer advances, a start lands on its boundary to the sample whatever the game thread was doing when it was requested.
- Module
- Audio
- Header
#include "Audio/AudioClock.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
double | Bpm | Default 120.0. |
uint32_t | BeatsPerBar | Default 4. |
uint32_t | SampleRate | Default 48000. |
uint64_t | StartFrame | Default 0. |
Public functions
| Returns | Name | Description |
|---|---|---|
double | FramesPerBeat | |
double | FramesPerBoundary | |
uint64_t | NextBoundaryFrame | The first boundary frame at or after nowFrame; nowFrame itself for Immediate or a grid with no tempo. |
Function details
FramesPerBeat
C++
double FramesPerBeat() constFramesPerBoundary
C++
double FramesPerBoundary(EQuantBoundary boundary) constNextBoundaryFrame
C++
uint64_t NextBoundaryFrame(uint64_t nowFrame, EQuantBoundary boundary) constThe first boundary frame at or after nowFrame; nowFrame itself for Immediate or a grid with no tempo.
Generated from Audio/AudioClock.h via audio.json · Dec 5, 2026Version 1.1.0