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

(
    const FQuartzQuantizationBoundary &...
)

Public function

FQuartzClock ...

 

GetTickRate()

Public function

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...
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback