Speech on WebGL
Posted: Thu Sep 07, 2017 8:16 pm
modelling of 3-Dimensional characters
http://www.makehumancommunity.org/forum/
http://www.makehumancommunity.org/forum/viewtopic.php?f=15&t=14864
jcpalmer wrote:@alex_farlie
Sitting on the couch yesterday, I did look at the Web Speech API. You can have speech that corresponds to a mood / expression, indirectly. There are attributes for rate, volume & pitch. It would require playing with those to get 'angry' lets say, but probably do-able.
The problem I see, is while there is a rate of speech, it is up to each browser to define what that is. I made a test page,to verify times differences across browsers are large enough to ruin the animation. They do.
With much work this might be overcome, but notice the speak() function does not actually start the speech, partly because it only queues the speech. There is no event which indicates it is ready. You see an implementation could retrieve the speech from a server according to the API. Testing would have to be done to check. If this is the case, the network could delay the audio while the animation started. Hope this helps.
BTW, the repo you list is C based, not Javascript.