Class: Harmony

Harmony

A chord progression generator.

Constructor

new Harmony(options)

Parameters:
Name Type Description
options Object
Properties
Name Type Attributes Default Description
chords Iterable

The list of chords.

durations Iterable <optional>
[1,1, ...]

The list of chord durations. A duration of 1 is 1 beat.

looped Boolean <optional>
false

If true, the chords and durations sequences will auto-restart (independently from each other) for the duration of containing Section.

Source: