ChordSequenceEngine

The ChordSequenceEngine is a SequenceEngine that uses a pattern (provided by the configured PatternEngine) in which you specify chord offsets to use. Each offset from the pattern will be used to play a chord generated by using the given chord offset and adding all offsets provided in the "offsets" tag to it, one for each chord pitch. Example: let's suppose you have configured this SequenceEngine to use the chord offsets 0, 1, 2, 3 (which would be a normal chord plus the base tone transposed one octave up). If the pattern contains a "1" for the current tick, the SequenceEngine will create a chord using the chord offsets 1, 2, 3, 4.

The ChordSequenceEngine randomly chooses one of the provided "patternEngine" tags and uses it to render a pattern. Then a multi-voice sequence will be rendered using this pattern.

Configuration

Tag Attribute Type # Example Description
offets - list of ints 1 0,1,2,5 The chord offsets to play for each note.
normalizeChords - boolean 0-1 false Specifies that chords should be normalized. Defaults to true. Available since version 0.3.
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="ChordSequenceEngine">
  <offsets>0,1,2</offsets>
  <patternEngine class="RandomFragmentPatternEngine">
    <patternTicks>48</patternTicks>
    <patternString>A1,A2,A1,A3</patternString>
    <pattern group="A">0,-,-,0,-,-,0,-|0,-,0,-,-,0,-,-|0,-,-,0,-,0,-,-</pattern>
  </patternEngine>
</sequenceEngine>

Add new comment

Error | SoundHelix

Error

Error message

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'o3587400'@'swh-live-web53.swh.1u1.it' for table 'drupal_accesslog': INSERT INTO {accesslog} (title, path, url, hostname, uid, sid, timer, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7); Array ( [:db_insert_placeholder_0] => ChordSequenceEngine [:db_insert_placeholder_1] => node/59 [:db_insert_placeholder_2] => [:db_insert_placeholder_3] => 34.230.68.214 [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => qF3ooguODBGql21Lw5NCV_qbmKZYrQhJOyrhuJFqdzk [:db_insert_placeholder_6] => 1248 [:db_insert_placeholder_7] => 1711647295 ) in statistics_exit() (line 91 of /mnt/web305/e3/68/52429368/htdocs/soundhelix.com/public_html/modules/statistics/statistics.module).
The website encountered an unexpected error. Please try again later.