Chess SAN → Pitch-Collection Engine
Stateful Tn set transformation & musical export
How It Works
Transformation: Each piece holds a current pitch-class set. Each move transposes it by distance n: Tn(S).
Distance metrics: Chebyshev max(|Δf|,|Δr|), Manhattan |Δf|+|Δr|, or Piece-aware (move rules).
Black sets: Derived by inversion about 0: (12 − p) mod 12.
Morse rhythm: Piece name + event (CAPTURE, CHECK) as • and –, letters separated by |.
Board: Step through moves; click any table row to jump to that position.
MusicXML: Output sets exported as chords; n maps to note duration.
Input & Settings
Piece Pitch-Class Sets
Enter pitch classes in hex (0–9, A=10, B=11). Accepts comma-separated 0,1,4, space-separated 0 1 4, or unseparated 014. Duplicates removed; output sorted. Black sets auto-derived by inversion about 0.
White Pieces
Black Pieces — auto-derived (inversion about 0)
Output
set colors:
initial
before (current)
after (transposed)
captured initial
Convert a game above to see results.
Chess SAN → Pitch-Collection Engine — Tn set transformations via Chebyshev, Manhattan, or piece-aware distance.