Creating a piece using JFugue
In this project, I created a composition using JFugue in the Java programming language. JFugue is a Java library that allows users to program music in Java without having to be concerned about the complexities of MIDI. The composition depends on the current temperature and the text downloaded from Wikipedia. The tempo adjusts to the current temperature and the text retrieved from Wikipedia is converted (character by character) to ASCII and is played as chords. The composition consists of 5 different patterns and a Constants.java file where values can be adjusted. The values represent the integer value that is added to a count. That integer value depends on the current weather conditions (clear skies, clouds, drizzle, rain, thunderstorm, snow) and is setting the tempo of the piece.
More information on JFugue can be found here.
Hardware:
- Mac or PC
Software:
- Download any Java IDE and run the Main.java file. Project repository can be accessed here.
NOTICE: If above video does not appear, try switching web browsers. This type of media file has been found to conflict with Google Chrome and other browser types.