Skip to main content
. Author manuscript; available in PMC: 2010 Feb 10.
Published in final edited form as: Music Sci. 2008 Oct 1;12(2):207. doi: 10.1177/102986490801200202

Figure 2.

Figure 2

a. A finite-state grammar diagram illustrating the possible ways to compose melody from harmony. b. An illustration of applying a finite-state grammar as a set of rules to compose one melody based on the finite-state grammar. Dark arrows illustrate the paths taken, whereas light arrows illustrate other possible paths that are legal in the grammar. One resultant melody is shown at the bottom of the figure. Other melodies can be constructed by following a pathway specified by any combination of arrows connecting nodes in the grammar.