public abstract class AbstractMultiPatternSequenceEngine extends AbstractSequenceEngine
AbstractSequenceEngine.PatternRestartMode
Modifier and Type | Field and Description |
---|---|
protected boolean |
isNormalizeChords
The boolean indicating whether chords should be normalized.
|
protected Random |
random
The random generator.
|
protected static char |
TRANSITION
The transition character.
|
logger, patternRestartMode, randomSeed
Constructor and Description |
---|
AbstractMultiPatternSequenceEngine()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Track |
render(SongContext songContext,
ActivityVector[] activityVectors)
Renders one or more sequences (i.e., voices) as a track.
|
void |
setNormalizeChords(boolean isNormalizeChords) |
void |
setPatterns(Pattern[] patterns) |
configurePatternRestartMode, getActivityVectorCount, getNextPatternRestartTick, getRandomSeed, setPatternRestartMode, setRandomSeed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
protected static final char TRANSITION
protected Random random
protected boolean isNormalizeChords
public AbstractMultiPatternSequenceEngine()
public void setPatterns(Pattern[] patterns)
public Track render(SongContext songContext, ActivityVector[] activityVectors)
SequenceEngine
songContext
- the song contextactivityVectors
- the activity vectorspublic void setNormalizeChords(boolean isNormalizeChords)