add main method to MidiAudio