How to set text-speech voice to a man's voice?

Hey Koders,
I am working on an app where I am using the text-to-speech component. How do I change its voice to a male voice? I tried with almost every possible pitch but couldn’t get it talk perfectly. If anyone has accomplished that earlier, I would really appreciate some help.