tell application "QuickTime Player 7"
open POSIX file "/path/to/your/file.mid"
play document 1
end tell
For some reason QuickTime Player X will not open midi files, so you need to have QuickTime Player 7 installed, or an alternative player such as NicePlayer. If you use NicePlayer, simply...