Matrix Calculator

All 48 forms of any row: prime, retrograde, inversion and retrograde inversion.

How to Use It

  1. Build the row. Click a slot, then click a pitch. The next empty slot is picked for you. A pitch already in the row is crossed out, so no pitch class repeats.
  2. Or type it. Note names like CF♯B♭ or numbers 0 to 11, with t for 10 and e for 11. Random row and the composers' rows menu fill all twelve slots at once.
  3. Choose the spelling. Sharps, Flats or Numbers renames every note in the slots and the matrix. The pitches stay the same.
  4. Read and hear the forms. P forms run left to right along each row and R forms read them backward. I forms run down each column and RI forms read them upward. Click any label to hear it.

How the Labels Work

P0 is the row as you entered it. Every subscript counts semitones up from the first note of P0, so P3 and I3 both start three semitones higher. R3 is P3 backward and RI3 is I3 backward. This is the same labelling the rest of the site uses.