Navigation
API > API/Runtime > API/Runtime/Engine
Utility class to set/get/convert tick rate In this context "Tick Rate" refers to the duration of smallest temporal resolution we may care about in musical time, this is locked to a 1/32nd note
| Name | FQuartzClockTickRate |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/QuartzQuantizationUtilities.h |
| Include Path | #include "Sound/QuartzQuantizationUtilities.h" |
Syntax
struct FQuartzClockTickRate
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FQuartzClockTickRate() |
Ctor | Sound/QuartzQuantizationUtilities.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BeatsPerMinute | double | Sound/QuartzQuantizationUtilities.h | ||
| FramesPerTick | double | FramesPerTick is our ground truth update FramesPerTick and call RecalculateDurationsBasedOnFramesPerTick() to update other members | Sound/QuartzQuantizationUtilities.h | |
| MillisecondsPerTick | double | Sound/QuartzQuantizationUtilities.h | ||
| SampleRate | double | Sound/QuartzQuantizationUtilities.h | ||
| SecondsPerTick | double | Sound/QuartzQuantizationUtilities.h | ||
| ThirtySecondNotesPerMinute | double | Sound/QuartzQuantizationUtilities.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double GetBeatsPerMinute() |
Sound/QuartzQuantizationUtilities.h | ||
double GetFramesPerDuration
(
EQuartzCommandQuantization InDuration |
Sound/QuartzQuantizationUtilities.h | ||
double GetFramesPerDuration
(
EQuartzTimeSignatureQuantization InDuration |
Sound/QuartzQuantizationUtilities.h | ||
double GetFramesPerTick() |
Getters. | Sound/QuartzQuantizationUtilities.h | |
double GetMillisecondsPerTick() |
Sound/QuartzQuantizationUtilities.h | ||
double GetSampleRate() |
Sound/QuartzQuantizationUtilities.h | ||
double GetSecondsPerTick() |
Sound/QuartzQuantizationUtilities.h | ||
double GetThirtySecondNotesPerMinute() |
Sound/QuartzQuantizationUtilities.h | ||
bool IsSameTickRate
(
const FQuartzClockTickRate& Other, |
Sound/QuartzQuantizationUtilities.h | ||
bool IsValid
(
int32 InEventResolutionThreshold |
Sound/QuartzQuantizationUtilities.h | ||
void SetBeatsPerMinute
(
double InNewBeatsPerMinute |
Sound/QuartzQuantizationUtilities.h | ||
void SetFramesPerTick
(
int32 InNewFramesPerTick |
Setters. | Sound/QuartzQuantizationUtilities.h | |
void SetMillisecondsPerTick
(
double InNewMillisecondsPerTick |
Sound/QuartzQuantizationUtilities.h | ||
void SetSampleRate
(
double InNewSampleRate |
Sound/QuartzQuantizationUtilities.h | ||
void SetSecondsPerTick
(
double InNewSecondsPerTick |
Sound/QuartzQuantizationUtilities.h | ||
void SetThirtySecondNotesPerMinute
(
double InNewThirtySecondNotesPerMinute |
Sound/QuartzQuantizationUtilities.h |