In the Old Days, one could buy a dedicated chess computer with speech synthesis capability. I thought that this was a nice feature and so I added it to my old program Spector back in 1987. At the time, I used a separate speech synthesis box with a 6502 CPU and connected via a serial link to do the actual sound generation.
Today, things are much simpler. Symbolic has a utility rouine which calls the system() routine to run a Unix speech generator. On Mac OS/X (and maybe all other OpenBSD platforms), the speech application is "say". On Linux, the application is "spd-say". In both cases, the command is called with a single argument which is the quoted string to say.
Example:
Code: Select all
say "The white bishop at square c4 takes the black pawn at square f7 giving check."