The PatternSequenceEngine is a SequenceEngine that uses a pattern (provided by the configured PatternEngine) in which you specify chord offsets to use.
The PatternSequenceEngine randomly choses on of the provided "patternEngine" tags and uses it to render a pattern. Then a sequence will be rendered using this pattern.
The wildcard character "+" can be used to create a transition pitch between the current chord and the next chord. This pitch is always based on chord offset 0 of both chords.
Configuration
| Tag | Attribute | Type | # | Example | Description |
|---|---|---|---|---|---|
| patternEngine | class | class | 1 | StringPatternEngine | The name of the PatternEngine implementation to use. |
| patternEngine | - | - | 1-n | - | The configuration of the PatternEngine implementation. |
Configuration example
<sequenceEngine class="PatternSequenceEngine">
<patternEngine class="StringPatternEngine">
<string>0,-,-,-,0,-,-,0,-,-,0,-,-,-1,-,-,0,-,-,-,0,-,-,0,-,-,0,-,-,-,+,-,0,-,-,-,0,-,-,0,-,-,0,-,-,-1,-,-,0,-,-,-,0,-,-,0,-,0,-,-,0,-,+,-</string>
<string>0,-,-,0,-,-,0,2,0,-,-,0,-,-,-1,-,0,-,-,0,-,-,0,2,0,-,-,0,-,-,-1,-,0,-,-,0,-,-,0,2,0,-,-,0,-,-,-1,-,0,-,-,0,-,-,0,2,0,-,-,0,-,-,1,-</string>
<string>0,-,0,-,0,-,-,0,-,0,-,0,0,-,+,-</string>
<string>0,-,-,-,0,-,-,-,0,-,-,0,-,-,+,-,0,-,-,-,0,-,-,0,-,-,0,-,-,0,+,-,0,-,-,-,0,-,-,-,0,-,-,0,-,-,+,-,0,-,-,-,0,-,-,0,-,-,0,-,0,-,+,-</string>
<string>-,-,0,-,-,-,0,-,-,-,0,-,-,-,0,-,-,-,0,-,-,-,0,-,-,-,0,-,-,-,+,-</string>
<string>0,-,-,-,0,-,-,-,0,-,-,0,-,-,0,-,0,-,-,-,0,-,-,-,0,-,-,2,-,-,+,-,0,-,-,-,0,-,-,-,0,-,-,0,-,-,0,-,0,-,-,-,0,-,-,-,0,-,-,0,-,-,+,-</string>
<string>0,-,-,3,-,-,0,-,1,-,-,0,-,-,3,-,0,-,-,3,-,-,0,-,1,-,-,0,-,2,1,-</string>
</patternEngine>
</sequenceEngine>





Add new comment