org.jfugue.examples
Class FrereJacques
java.lang.Object
|
+--org.jfugue.examples.FrereJacques
- public class FrereJacques
- extends java.lang.Object
This class plays the familiar song "Frere Jacques". It shows how to use Patterns
to easily replicate common segments of a song, and it uses different voices to
play the song in a round.
To compile: javac -classpath directory-and-filename-of-jfugue.jar FrereJacques.java
To execute: java -classpath directory-and-filename-of-jfugue.jar org.jfugue.examples.FrereJacques
(note: Depending on your version of Java, you may have to use "-cp" instead of "-classpath" when executing)
- Version:
- 2.0
- Author:
- David Koelle
- See Also:
Pattern
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FrereJacques
public FrereJacques()
main
public static void main(java.lang.String[] args)