![]() One easy way to use this file is to tell your browser, e.g. ![]() The script that the google translate page ran, when I used your example, produced a fileĬalled "translate_tts" with no file extension. Most Linux distros include wget as standard, but it can easily be downloaded (see, e.g, this link). # write a Chinese text string as an audio file using Google Translate I do the same thing with Chinese (the script is a bit simpler because there are no spaces to parse between words): #!/bin/bash ![]() # write an English text string as an audio file using Google Translate I use a command line script to download English audio of text strings: #!/bin/bash I'm not sure about Windows, but in Linux this is very easy from the command line. I will revise this answer with a new edit as/when I can. As indicated by a new additional parameter tk is required, and I am having a hard time working out how to calculate it in a shell script. As of this code no longer works following further changes to the Google TTS API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |