Navigation
API > API/Plugins > API/Plugins/HarmonixMetasound > API/Plugins/HarmonixMetasound/FMidiTrackFilter
Description
Set the range of tracks to include. Track 0 is reserved as the "conductor" track, which only contains timing information. The first track with notes and other messages on it will be track 1.
| Name | SetTrackRange |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMetasound/Public/HarmonixMetasound/MidiOps/MidiTrackFilter.h |
| Include Path | #include "HarmonixMetasound/MidiOps/MidiTrackFilter.h" |
| Source | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMetasound/Private/HarmonixMetasound/MidiOps/MidiTrackFilter.cpp |
void SetTrackRange
(
uint16 InMinTrackIdx,
uint16 InMaxTrackIdx,
bool InIncludeConductorTrack
)
Parameters
| Name | Remarks |
|---|---|
| InMinTrackIdx | The first track to include in the range of tracks (inclusive). |
| InMaxTrackIdx | The last track to include in th range of tracks (inclusive). |
| InIncludeConductorTrack | Whether or not to include the conductor track (track 0) |