Navigation
API > API/Plugins > API/Plugins/HarmonixMidi
A map of 'beats' in a piece of music.
| Name | FBeatMap |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMidi/Public/HarmonixMidi/BeatMap.h |
| Include Path | #include "HarmonixMidi/BeatMap.h" |
Syntax
USTRUCT ()
struct FBeatMap
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBeatMap() |
HarmonixMidi/BeatMap.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddBeat
(
EMusicalBeatType Type, |
HarmonixMidi/BeatMap.h | ||
void Copy
(
const FBeatMap& Other, |
HarmonixMidi/BeatMap.h | ||
void Empty() |
HarmonixMidi/BeatMap.h | ||
void Finalize
(
int32 LastTick |
HarmonixMidi/BeatMap.h | ||
int32 FindDownbeatIndexAfterBeat
(
float Beat |
Retrieve the first downbeat AFTER the specified "from count in" beat | HarmonixMidi/BeatMap.h | |
int32 FindDownbeatIndexAtOrAfterBeat
(
float Beat |
Retrieve the first downbeat ON OR AFTER the specified "from count in" beat | HarmonixMidi/BeatMap.h | |
float GetBeatInPulseBarAtTick
(
float Tick |
HarmonixMidi/BeatMap.h | ||
const FBeatMapPoint & GetBeatPointInfo
(
int32 index |
HarmonixMidi/BeatMap.h | ||
EMusicalBeatType GetBeatTypeAtTick
(
int32 Tick |
HarmonixMidi/BeatMap.h | ||
float GetFractionalBeatAtTick
(
float Tick |
HarmonixMidi/BeatMap.h | ||
float GetFractionalTickAtBeat
(
float InBeat |
HarmonixMidi/BeatMap.h | ||
int32 GetNumBeatsInPulseBarAt
(
int32 Tick |
HarmonixMidi/BeatMap.h | ||
int32 GetNumMapPoints() |
HarmonixMidi/BeatMap.h | ||
int32 GetPointIndexForTick
(
int32 Tick |
HarmonixMidi/BeatMap.h | ||
const FBeatMapPoint * GetPointInfoForTick
(
int32 Tick |
HarmonixMidi/BeatMap.h | ||
bool IsDownbeat
(
float Beat |
Is the specified "from count in" beat the first beat in its bar? | HarmonixMidi/BeatMap.h | |
bool IsEmpty() |
HarmonixMidi/BeatMap.h | ||
void SetTicksPerQuarterNote
(
int32 InTicksPerQuarterNote |
Called by the midi file importer before map points are added to this map | HarmonixMidi/BeatMap.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FBeatMap& Other |
HarmonixMidi/BeatMap.h |