Straight line pattern

From Xenharmonic Wiki
Revision as of 07:52, 19 November 2026 by Naren (talk | contribs) (Add Python code, change wording)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Straight line patterns are diagrams showing how the pitch of each scale tone in a moment of symmetry varies with the size of the generator.[1][2]

Figure 1 shows a straight line pattern for a twelve-note MOS with chain positions -6 up to +5 (so stacking six times downwards and five times upwards). The y-axis is the generator size in units of octaves, so the range 4/7 to 3/5 shown corresponds to 685.7 cents to 720 cents. The x-axis is the scale tone pitch in octaves. Each line on the plot shows the pitch of a given scale tone. The lines are labeled with the number of generators stacked to give the corresponding scale tone.

Figure 1: Straight line pattern for a twelve-note MOS

A given MOS exists only for generators in a certain range of sizes (the Gral method lets us calculate this range). At the edges of this range, some scale tones 'merge', that is their pitches become equal. You can see this in Figure 1, where when the generator equals 4/7 of an octave, some scale tones merge so the twelve-note scale becomes a seven-note scale, and when the generator equals 3/5 of an octave we get a five-note scale.

We can make a larger diagram by combining plots for MOS whose generator ranges join together. Figure 2 shows such an extended diagram, showing the twelve-note MOS of Figure 1 for the generator range [4/7, 3/5] along with a 13-note MOS for the generator range [3/5, 5/8].[1]

Figure 2: Straight line pattern showing two MOS existing in neighbouring generator ranges

Erv Wilson illustrated his notations using an extended set of nominals with a straight line diagram in his paper On Linear Notations and the Bosanquet Keyboard.[3] Figure 3 shows the figure from the paper redrawn and with a legend added showing how the chain positions correspond to the note names.

Figure 3: Straight line pattern showing Erv Wilson's system of fluctuating nominal symbols

The Python code below calculates the generator range and exponents of the generator and period for an m/n MOS, that is an n-note MOS with the generator at scale degree m.

from fractions import Fraction


def mos_generator_range(m, n):
    """
    Find the generator range in which an m/n MOS exists.

    >>> mos_generator_range(4, 7)
    (Fraction(1, 2), Fraction(3, 5))
    """
    c = pow(m, -1, n)
    d = n - c
    a = (c * m - 1) // n
    b = m - a
    return (Fraction(a, c), Fraction(b, d))


def mos_exponents(m, n, *, start):
    """
    Find exponents of generator and period for each note in an m/n MOS.

    The MOS starts at the generator with exponent `start`.

    >>> exponents = mos_exponents(4, 7, start=-1)
    >>> for p, q in exponents: print(f"{p:+}, {q:+}  ->  {p * 700 + q * 1200}")
    -1, +1  ->  500
    +0, +0  ->  0
    +1, +0  ->  700
    +2, -1  ->  200
    +3, -1  ->  900
    +4, -2  ->  400
    +5, -2  ->  1100
    """
    return [(p, -((p * m) // n)) for p in range(start, n + start)]

References

  1. ↑ 1.0 1.1 Erv Wilson, MOS letter. 1975
  2. ↑ Erv Wilson, STRAIGHT LINE PATTERNS of the Scale Tree. 1996
  3. ↑ Erv Wilson, On Linear Notations and the Bosanquet Keyboard. Xenharmonikon 3, 1975