How to improve audio and MIDI latency