Dynamically converting text to speech(mp3) offline

Hi,

I am developing an application where I need to convert Text to Speech in offline version.
Without using the Google translator.

Is there any way to achieve this?

Thanks.