FQuartzMetronome

Class to track the passage of musical time, and allow subscribers to be notified when these musical events take place.

Windows
MacOS
Linux

References

Module

AudioMixer

Header

/Engine/Source/Runtime/AudioMixer/Public/Quartz/QuartzMetronome.h

Include

#include "Quartz/QuartzMetronome.h"

Syntax

class FQuartzMetronome

Remarks

Class to track the passage of musical time, and allow subscribers to be notified when these musical events take place.

Constructors

Name Description

Public function

FQuartzMetronome()

Ctor

Public function

FQuartzMetronome

(
    const FQuartzTimeSignature& InTime...
)

Destructors

Name Description

Public function

~FQuartzMetronome()

Dtor

Functions

Name Description

Public function Const

int32

 

GetFramesUntilBoundary

(
    FQuartzQuantizationBoundary InQuant...
)

Public function

FQuartzClock...

 

GetTickRate()

Public function Const

FQuartzTimeS...

 

GetTimeSignature()

Public function

void

 

ResetTransport()

Public function

void

 

SetSampleRate

(
    float InNewSampleRate
)

Public function

void

 

SetTickRate

(
    FQuartzClockTickRate InNewTickRate,
    int32 NumFramesLeft
)

Called by owning FQuartzClock

Public function

void

 

SetTimeSignature

(
    const FQuartzTimeSignature& InNewT...
)

Affects bars/beats values we send back to the game thread

Public function

void

 

SubscribeToAllTimeDivisions

(
    MetronomeCommandQueuePtr InListener...
)

Public function

void

 

SubscribeToTimeDivision

(
    MetronomeCommandQueuePtr InListener...,
    EQuartzCommandQuantization InQuanti...
)

Public function

void

 

Tick

(
    int32 InNumSamples,
    int32 FramesOfLatency
)

Called by owning FQuartzClock

Public function

void

 

UnsubscribeFromAllTimeDivisions

(
    MetronomeCommandQueuePtr InListener...
)

Public function

void

 

UnsubscribeFromTimeDivision

(
    MetronomeCommandQueuePtr InListener...,
    EQuartzCommandQuantization InQuanti...
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss