Inspiration

Combining music with machinery appears to be a daunting task to anyone, but we took up the challenge. With no knowledge of the javax.sound API, we took up the task of interpreting it to make music for us.

What it does

Executing the Driver.java file allows users to select instrumentation and an instantly generated midi file will be written and played through the program as well as exporting the song to a midi file in the same directory as the program's source files.

Challenges we ran into and Accomplishments that we're proud of

The API we used is fairly old, so there was very little online documentation, so through trial and error we had to figure out how each class works within the library.

What we learned

We learned to parse through the Java API in order to learn how a library works with no outside help. More specifically, we learned the java.sound.midi API, but more broadly, we learned how to gain new skills with obscure API's at a quick pace.

What's next for Random Music Generator

Now that we have a proof of concept, we can take it much farther to make the songs sound more human than robotic, and more musical and expressive than simple, objectively good music.

Built With

  • java
  • javax.sound.midi
Share this project:

Updates