|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfugue.PatternFactory
public abstract class PatternFactory
This class is used to generate pre-defined Patterns during runtime. A perfect use of this class would be to extend it and make your new class generate rhythms of various music styles, like Rock, Swing, or 8-Beat. You could also use it to generate a series of tones or notes that uniquely identifies your product.
Constructor Summary | |
---|---|
PatternFactory()
|
Method Summary | |
---|---|
Pattern |
getDemo()
Takes all of the patterns generated by the PatternFactory, and adds them together into one Pattern that can be used to hear all of the music the PatternFactory is capable of producing. |
abstract int |
getNumberOfPatterns()
|
abstract Pattern |
getPattern(int selection)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PatternFactory()
Method Detail |
---|
public abstract Pattern getPattern(int selection)
public abstract int getNumberOfPatterns()
public Pattern getDemo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |