On `MidiOutputDevice`, there are many array allocations like `new byte[4]`. This causes performance problem.
On
MidiOutputDevice, there are many array allocations likenew byte[4].This causes performance problem.