using Midi library