![]() There's not a whole lot going on in this demo. In the terminal, you can use the say binary to generate an audioįile (.aiff) using the following command: ( ← ) indicates a voice that Ben could understand clearly. On the terminal, you can use the say command using similar inputs and, you can even generate an audio file. On MacOS, the say command is the speech synthesis binary that, I assume, is what is feeding the SpeechSynthesis API. I have no idea if these voices are some standard that will be common on other devices but, these are the ones that are available on my MacOS.ĪSIDE: You may have noticed that when you change one of the inputs, I'm generating a say command. Var utterance = new SpeechSynthesisUtterance( text ) I perform the low-level speech synthesis for the given voice, rate, and text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |