Here's another way to have fun on your computer. JFugue is a Java API for music programming. It has a rich set of classes for creating phrases, chords, transforms and so on. Here's a bit of Jfugue code that play a scale:

		import org.jfugue.*;

		public class MyMusicApp {

			public static void main(String[] args) {
				Player player = new Player();
				Pattern pattern = new Pattern("C D E F G A B");
				player.play(pattern);
			}
		}
JFugue includes Lots of documentation and is released under a creative commons license.

Comments:

Post a Comment:

This blog copyright 2010 by plamere