public class PadSequenceEngine extends AbstractSequenceEngine
AbstractSequenceEngine.PatternRestartModelogger, patternRestartMode, randomSeed| Constructor and Description |
|---|
PadSequenceEngine() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(SongContext songContext,
Node node)
Configures the instance using the specified XML node.
|
Track |
render(SongContext songContext,
ActivityVector[] activityVectors)
Renders one or more sequences (i.e., voices) as a track.
|
void |
setNormalizeChords(boolean isNormalizeChords) |
void |
setObeyChordSections(boolean obeyChordSections) |
void |
setOffsets(int[] offsets) |
void |
setRetriggerPitches(boolean retriggerPitches) |
void |
setVelocity(int velocity) |
configurePatternRestartMode, getActivityVectorCount, getNextPatternRestartTick, getRandomSeed, setPatternRestartMode, setRandomSeedpublic void setOffsets(int[] offsets)
public void setVelocity(int velocity)
public Track render(SongContext songContext, ActivityVector[] activityVectors)
SequenceEnginesongContext - the song contextactivityVectors - the activity vectorspublic void configure(SongContext songContext, Node node) throws XPathException
XMLConfigurablesongContext - the song contextnode - the parent XML node of the configuration tagsXPathException - in case of an XPath problempublic void setObeyChordSections(boolean obeyChordSections)
public void setNormalizeChords(boolean isNormalizeChords)
public void setRetriggerPitches(boolean retriggerPitches)