Play SMF (Standard MIDI File) on Unity.
A pure C# MIDI library (C# Synth Project) worked well on Unity with slight modifications. This repository contains the modified library and example codes to play an SMF using OnAudioFilterRead.
Using natively supported MIDI APIs will achieve better quality. The following may be useful references.
- C# Synth Project: The MIT License
- pathetique-2.mid: Public domain