In music theory, the **spiral array model** is an extended type of pitch space. A mathematical model involving concentric helices (an "array of spirals"), it represents human perceptions of pitches, chords and keys in the same geometric space. It was proposed in 2000 by Prof. Elaine Chew in her MIT doctoral thesis *Toward a Mathematical Model of Tonality*.^{[2]} Further research by Chew and others have produced modifications of the spiral array model, and, applied it to various problems in music theory and practice, such as key finding (symbolic and audio^{[3]}^{[5]}), pitch spelling,^{[7]}^{[8]}^{[9]}^{[11]} tonal segmentation,^{[12]}^{[14]} similarity assessment,^{[2]} and musical humor.^{[2]} The extensions and applications are described in *Mathematical and Computational Modeling of Tonality: Theory and Applications*.^{[2]}

The spiral array model can be viewed as a generalized tonnetz, which maps pitches into a two-dimensional lattice (array) structure. The spiral array wraps up the two-dimensional tonnetz into a three-dimensional lattice, and models higher order structures such as chords and keys in the interior of the lattice space. This allows the spiral array model to produce geometric interpretations of relationships between low- and high-level structures. For example, it is possible to model and measure geometrically the distance between a particular pitch and a particular key, both represented as points in the spiral array space. To preserve pitch spelling, because musically A# ≠ Bb in their function and usage, the spiral array does not assume enharmonic equivalence, i.e. it does not fold into a torus. The spatial relationships between pitches, between chords, and between keys agree with those in other representations of tonal space.^{[2]}

The model and its real-time algorithms have been implemented in the tonal visualisation software MuSA.RT^{[2]}^{[2]} (Music on the Spiral Array . Real-Time) and a free app, MuSA_RT,^{[2]} both of which have been used in music education videos^{[2]}^{[2]} and in live performance.^{[2]}^{[3]}^{[3]}

## Structure of the Spiral Array

The model as proposed covers basic pitches, major chords, minor chords, major keys and minor keys, represented on five concentric helices. Starting with a formulation of the pitch helix, inner helices are generated as convex combinations of points on outer ones. For example, the pitches C, E, and G are represented as the cartesian points *P(0)*, *P(1)*, and *P(4)* (see definitions in next section), which outline a triangle. The convex combination of these three points is a point inside the triangle, and represents their *center of effect* (*ce*). This interior point, *C*_{M}*(0)*, represents the C major chord in the spiral array model. Similarly, keys may be constructed by the centers of effect of their I, IV, and V chords.

- The outer helix represents pitches classes. Neighboring pitch classes are a music interval of a perfect fifth, and spatially a quarter rotation, apart. The order of the pitch classes can be determined by the line of fifths. For example, C would be followed by G (C and G are a perfect fifth apart), which would be followed D (G and D are a perfect fifth apart), etc. As a result of this structure, and one of the important properties leading to its selection, vertical neighbors are a music interval of a major third apart. Thus, a pitch class's nearest neighbors and itself form perfect fifth and major third intervals.
- By taking every consecutive triads along the helix, and connecting their centers of effect, a second helix is formed inside the pitch helix, representing the major chords.
- Similarly, by taking the proper minor triads and connecting their centers of effect, a third helix is formed, representing the minor chords.
- The major key helix is formed by the centers of effect of the centers of effect of the I, IV, and V chords
- The minor key helix is formed by connecting similar combinations of the i, iv/IV, and V/v chords.

## Equations for Pitch, Chord, and Key Representations

The **pitch class helix, P**, is represented in parametric form by:

where k is an integer representing the pitch's distance from C along the line of fifths, r is the radius of the spiral, and h is the "rise" of the spiral.

The **major chord helix, C _{M}** is represented by:

where and

The weights "w" effect how close the center of effect are to the fundamental, major third, and perfect fifth of the chord. By changing the relative values of these weights, the spiral array model effects how "close" the resulting chord is to the three constituent pitches. Generally in western music, the fundamental is given the greatest weight in identifying the chord (w1), followed by the fifth (w2), followed by the third (w3).

The **minor chord helix, C _{m}** is represented by:

where and

The weights "u" function similarly to the major chord.

The **major key helix, T _{M}** is represented by:

where and

Similar to the weights controlling how close constituent pitches are to the center of effect of the chord they produce, the weights control the relative effect of the I, IV, and V chord in determining how close they are to the resultant key.

The **minor key helix, T _{m}** is represented by:

where and and and