Sound with graphics

Hello every one,

In my OpenGL program, whenever I will touch an object, it will speak out its name. For example, whenever a cube is touched, it will speak,“Cube”. Similarly, a sphere will speak “sphere”.

I am using visual studio 2017. I am trying to use ‘espeak,’ but with no luck. Can any one help me which text to speech program will be most useful and easy to integrate with this kind of application? What software will be best in the context of OpenGL?

Thanks in advance.

Please have a look-see at the Community Forum guidelines. You will need to post examples of your code, what you’ve tried and where you are stuck.