Bangkok

Free Ruby based tool to turn chess games into music
Download

Bangkok Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Jim Menard
  • Publisher web site:
  • http://www.io.com/~jimm/projects/montastic_dashboard/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 19 KB

Bangkok Tags


Bangkok Description

Free Ruby based tool to turn chess games into music Bangkok reads chess game descriptions and re-plays the games. Notifications of events (moves, checks, captures, etc.) are sent to a listener. Bangkok comes with a listener that generates a MIDI file. In other words, the chess game is turned into music.Bangkok comes with a GameListener that creates a MIDI sequence. The listener is given to a ChessGame object, which then reads a .pgn file, creates a board, gives the moves to the board so it can move the pieces, and tells the listener when the game is over. At that time, the GameListener writes the MIDI sequence out to a MIDI file. NOTE: Bangkok is licensed under the terms of the Ruby License. Requirements: · midilib 0.8.4 or later What's New in This Release: · GameListener#move outputs two notes for a move and sets CC_PORTAMENTO_TIME so there is a glide from the first note to the second. The total length of the two ntoes is proportional to the distance the piece travels. The first note is short (a 32nd note), and the second takes up the rest of the time, thus allowing the portamento to have its effect. · GameListener#move also outputs multiple volume and pan values, moving smoothly from the original to the new value for the duration of the move's notes. · New Square.at method returns a ready-made Square. Since they're immutable, this reduces the number of objects that need to be created. · More tests.


Bangkok Related Software