Play MidiFiles In UE5 Using Metasounds
The Metasounds extension for MidiEngine adds the MidiPlayerComponent which makes it very easy for you to playback Midi Files using Quartz and Metasounds.
It also adds a VST interface for you to create samplers/romplers and Synthesizers. This means you can sample instruments like grand piano, brass and more!
How to create a Piano Virtual Instrument In UE5 Metasounds
You can follow this tutorial to create endless virtual instruments in UE5.
For endless or loopable sampling, make sure your WAV sample is seamless and set the Wave Player in metasounds to loop.