Tips on generating voices? [P]

I’m looking to make a program that will read out loud text files I give it in various voices. Any tips on where to start?