Navigation
API > API/Plugins > API/Plugins/HarmonixMidi > API/Plugins/HarmonixMidi/FMidiCursor
Description
Preroll is like process except it filters meaningless messages that happen in the provided span of ticks. For example:
- If the span includes both a note-on AND a note-off for the same note on the same track those events are 'eaten' and not provided to the receiver.
- Only the last time signature and tempo in the span will be sent.
- etc.
| Name | Preroll |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMidi/Public/HarmonixMidi/MidiCursor.h |
| Include Path | #include "HarmonixMidi/MidiCursor.h" |
| Source | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMidi/Private/HarmonixMidi/MidiCursor.cpp |
void Preroll
(
int32 FirstTickToProcess,
int32 LastTickToProcess,
FReceiver & Receiver
)