Skip to content

Armaxis/jmg

Repository files navigation

Java Music Generator

By Artem Chubaryan.

Java Music Generator (or JMG) is based on jMusic library and allows you to create music in real time, play it and save to MIDI or MP3. Started as a master's degree final project it continued to grow, and I hope the quality of the generated music will be perfected with time.

Before Starting

All information is currently available only on Russian.

Getting Started

  • Install JDK 7.
  • Download the project.
  • Add gervill.jar and jave-1.0.2.jar from /libs to build path.
  • Install additional soundfonts (see below).

Installing Soundfonts

You can use custom soundbanks to make generator sound better. All you need is to put .sf2 file in /soundfonts directory and use it in RealtimePlayer.java. I suggest you to download free soundbank Fluid R3, which includes all the General Midi instruments.

  1. Download Fluid R3 (141 Mb).
  2. Extract it to /soundfonts.
  3. Rename the file to fluid.sf2 or change constant SOUNDFONT_FILENAME in /src/player/RealtimePlayer.java
  4. Enjoy the new amazing sound of generator :)

License

JMG is distributed under the GNU GPL v2.

About

Real-time music generator written on Java.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages