Has anyone been thinking of creating or has created a C2 plugin to enable text to speech within games?
It would probably involve using the Web Speech API: https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API
Thanks for any insights.
I made a plugin awhile ago for android for TTS. Never advanced it all the way... its not too hard to do but it sometimes is very platform dependent.
The User Media object already supports this. There's a "speech synthesis" demo built-in to C2 that demonstrates it.
Develop games in your browser. Powerful, performant & highly capable.
Ashley Great, hadn't noticed this. Thanks for the great work.
Ashley
Im testing the usermedia speech synthesis in NW.
It then only has 1 voice, but with normal chrome it has multiple.
Can i add more voice into NW?
I don't think so. Presumably the custom voices are proprietary and part of Chrome but not Chromium.
Thank you for the answer.
Ashley but dont work in intel xdk...The cranberrygame made a plugin that works how much is exported to the intel xdk, because his plugin has no pitch and rate. The user media has, but only works in the browser. Using intel xdk does not work. Its support says it has to do with the Intel Xdk webview, but how does the cranberrygame and Scirra plugin work?