Let’s start off by covering the main classes you’ll be working with after importing MIDI Files in Unreal Engine 5.
UMidiAsset is the simple data structure that will give you simplified access to MIDI data.
UMidiAssets contain UMidiTracks and UMidiTracks contain the UMidiNotes.
The UMidiTracks represent your Instrument like Kick, Snare, Piano… And each UMidiTrack contains all the MidiNotes that belong or play within it.
The UMidiNote contains the following data you may be interested in: