Show HN: Chessophone – Listen to Chess Games

chessophone.netlify.app

1 points by csmeyer 11 hours ago

Chessophone takes a PGN string representation of a chess game and generates music - Notes from the C major scale are added for each piece in each row of the board for each move in the game.

Games played with the same opening will sound the same until they deviate from book moves. The perceived tempo of the music speeds up as pieces are captured. Enjoy!

The Web Audio API is a bit annoying and this would be better if it used an actual <audio> tag but alas Saturday mornings are only so long.

Created with python-chess and tone.js.

Source code here: https://github.com/charliemeyer/chessophone