Recreate the music engine of X-Wing for PC (1994) from LucasArts
Playback and control of .mid files, potential tool, JetPlayer:
http://www.tutorialspoint.com/android/android_jetplayer.htm
manual: https://developer.android.com/guide/topics/media/jet/jetcreator_manual.html example: http://alvinalexander.com/java/jwarehouse/android/media/java/android/media/JetPlayer.java.shtml
more basic: https://examples.javacodegeeks.com/desktop-java/sound/play-midi-audio/
iMUSE was the technology developped by Lucas Arts to drive the music, textual description here: https://books.google.ca/books?id=gnw0Zb4St-wC&pg=PA51&lpg=PA51&dq=iMuse+dynamic+musical+system&source=bl&ots=4bnYlwAflE&sig=Z7En2_oJOFOLvqN4LdnX5oWBsOo&hl=en&sa=X&ved=0ahUKEwiGhM77vePTAhUI6IMKHYuXBWYQ6AEIUTAH#v=onepage&q=iMuse%20dynamic%20musical%20system&f=false