Skip to content

Show HN: Chessophone – Listen to Chess Games

chessophone.netlify.app
2 pointscsmeyerdiscuss
On HN

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

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.