public abstract class AbstractFreeMultiPatternSequenceEngine extends AbstractSequenceEngine
AbstractSequenceEngine.PatternRestartMode
Modifier and Type | Field and Description |
---|---|
protected Random |
random
The random generator.
|
logger, patternRestartMode, randomSeed
Constructor and Description |
---|
AbstractFreeMultiPatternSequenceEngine() |
Modifier and Type | Method and Description |
---|---|
Track |
render(SongContext songContext,
ActivityVector[] activityVectors)
Renders one or more sequences (i.e., voices) as a track.
|
void |
setPatterns(Pattern[] patterns)
Sets the patterns.
|
configurePatternRestartMode, getActivityVectorCount, getNextPatternRestartTick, getRandomSeed, setPatternRestartMode, setRandomSeed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
protected Random random
public AbstractFreeMultiPatternSequenceEngine()
public void setPatterns(Pattern[] patterns)
patterns
- the patternspublic Track render(SongContext songContext, ActivityVector[] activityVectors)
SequenceEngine
songContext
- the song contextactivityVectors
- the activity vectors