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

TypeNameDescription
doubleBpmDefault 120.0.
uint32_tBeatsPerBarDefault 4.
uint32_tSampleRateDefault 48000.
uint64_tStartFrameDefault 0.

Public functions

ReturnsNameDescription
doubleFramesPerBeat
doubleFramesPerBoundary
uint64_tNextBoundaryFrameThe first boundary frame at or after nowFrame; nowFrame itself for Immediate or a grid with no tempo.

Function details

FramesPerBeat

C++
double FramesPerBeat() const

FramesPerBoundary

C++
double FramesPerBoundary(EQuantBoundary boundary) const

NextBoundaryFrame

C++
uint64_t NextBoundaryFrame(uint64_t nowFrame, EQuantBoundary boundary) const

The 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