Navigation
API > API/Plugins > API/Plugins/HarmonixMidi > API/Plugins/HarmonixMidi/FBarMap
Description
Adds a time signature at the specified position, in this case a bar number as one would find in an FMusicTimestamp. In other words, a BarNumber before '1' would be in the count-in or pickup.
| Name | AddTimeSignatureAtMusicTimestampBar |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMidi/Public/HarmonixMidi/BarMap.h |
| Include Path | #include "HarmonixMidi/BarMap.h" |
| Source | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMidi/Private/HarmonixMidi/BarMap.cpp |
bool AddTimeSignatureAtMusicTimestampBar
(
int32 BarNumber,
int32 Numerator,
int32 Denominator,
bool SortNow,
bool FailOnError
)
Parameters
| Name | Remarks |
|---|---|
| BarNumber | Bar 1 is the "beginning of the song". Bars before '1' are count-in or pickup bars. |
| Numerator | TIme Signature Numerator |
| Denominator | Time Signature Denominator |
| SortNow | Whether to sort the time signature points immediately or wait. |
| FailOnError | If an error is detected halt execution. |