MIDI tools using Swift