Greetings to you!
I am planning on adding voice to the chat in my game! The idea was to have a sound engine receive commands to execute speech. I found the following potential problems:
- Platform compatibility,
- Dependencies, I don’t want people have to install extra software to run the game;
- speech engine limitations, the number of voices is reduced and can’t be fiddle with too much.
The idea I’m contemplating now is to use a setup similar to a music’s one.
The words would work like music notes. They will be phonetics, so that a library can be used to use different languages.
There are fundamental differences between music and voice, but since we can sing, talking could go more like Raping. Music is continuous in most cases, and voice is fragmented. The sound of certain words depend on what comes before or after them. Unless everyone is forced to use phonetics, it will be hard to make the words sound correct.
To structure the words like in music, maybe a set of codes can be used and a few limitations imposed:
- Numbers should be used in front of a word to determine it’s intensity or speed; so the system would not read numbers unless they have a 0 in front.
- Other symbols could be used to show emotions like a ! mark in front to make the following word(s) come on a surprised tone or a # to make the words come on an angered tone; + and - could add or reduce to the pitch, etc.
To have different voices one could configure or somehow ad filters to the base voices.
Now I’m no expert or even know much about music and sound in general, so this idea is most likely not new or even original, so, while keeping that in mind, please tell me what you think the possibilities are.