Festival offers a general framework for building speech synthesis systems as well as including examples of various modules.