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.
- I advise you to read introduction article on Habrahabr.
- More deeply the insides of the project are described in my master's paper.
- Also you can view a quick presentation.
- If you want to play with Generator and make some music, you can download the compiled app here.
All information is currently available only on Russian.
- Install JDK 7.
- Download the project.
- Add
gervill.jar
andjave-1.0.2.jar
from /libs to build path. - Install additional soundfonts (see below).
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.
- Download Fluid R3 (141 Mb).
- Extract it to /soundfonts.
- Rename the file to fluid.sf2 or change constant
SOUNDFONT_FILENAME
in/src/player/RealtimePlayer.java
- Enjoy the new amazing sound of generator :)
JMG is distributed under the GNU GPL v2.