Wikipedia
JFugue
JFugue is an open source programming library that allows one to program music in the Java programming language without the complexities of MIDI. It was first released in 2002 by David Koelle. The current version, JFugue 5.0, was released in March 2015. Brian Eubanks has described JFugue as "useful for applications that need a quick and easy way to play music or to generate MIDI files." JFugue is free software released under the Apache License.