Template:Tone row/doc

Use
This template is intended to provide a consistent and easy display for tone rows, in all forms: prime, retrograde, inverse, retrograde inversion, and inverse retrograde; and in all transpositions.

Tone rows must be twelve tones long when using I, RI, and IR. Tones "10" and "11" may be entered as such, or as "t" and "e", and either way will be displayed as "t" and "e", except in IR, where "10" and "11" must be used. Integers or traditional letter names ("F#", etc.) may entered in the "number" parameter to indicate transposition, but may not be entered in parameters 1-12 to indicate individual tones.

For example: P6: R6: I6: RI6: IR6: P6 (0 = C): produces: P6: R6: I6: RI6: IR6: [should be: 1 2 e 0 9 t 3 4 5 6 7 8] P6 (0 = C):

The following: 0:    1:     2:     3:     4:     5:     6:     7:     8:     9:    10:    11:   produces: 0:  1:   2:   3:   4:   5:   6:   7:   8:   9:  10:  11:

Parameters

 * P, R, I, RI, IR
 * anything
 * transposition: 0 to 11; or letter note (of 0): C to B
 * number: 0 to 11

Formulas

 * P =  ...
 * R =  ...
 * I = 12- 12-  ...
 * RI = 12- 12-  ...
 * IR = (12- )+(  -(12-  )) (12-  )+(  -(12-  ))...

Intervals
The intervals, the space between the notes of the row, may be figured with Tone row/Intervals. For the interval classes, use Tone row/Interval classes.