[Console Application] TF2 Chat To Speech


You can view TF2 Chat To Speech on GitHub

TF2 Chat To Speech is a .NET framework application which reads the in-game text chat of a game called Team Fortress 2 and outputs it into the in-game voice chat. TF2CTS supports commands which users can write in-game in order for them to switch the speaker's voice and rate of speech.

Some of the things I did:

  • Designed the overall system couplings & data passthrough (Videogame -> Text file -> Program -> TTS -> audio device -> videogame)
  • Implemented file reading whilst file is in-use
  • Implemented text-filtering system
  • Implemented text-command system (Chat messages could contain strings which edit the speed or voice of the text-to-speech bot)
  • Implemented converting text to audio by using the NAudio framework and using text- and audiostreams

The following tools and languages were used in this project:

  • C#
  • .NET Framework
  • NAudio Library