I am using the espeak library for text to speech conversion.I am able to generate a dynmic sound from a string to do this.
os.system('espeak "hello"')
This works. But what i need is to generate sound from a string. This is what i did
string='hello'
os.system('espeak string')