Description Usage Arguments Details Value Author(s) References Examples
This functions helps send the text which user would like to convert into speech to the SOAP server and return the assigned ID. The content can be English and Chinese (both traditional and simplified).
1 | tts_ITRI_getID(content, speed, volume, speaker)
|
content |
The text user would like to convert into speech. The content can be English and Chinese (both traditional and simplified). |
speed |
The speed of the speaker in the voice file generated. The range is -10 to 10, in numerical type. |
volume |
The volume of the speaker in the voice file generated. The range is 0 to 100, in numerical type. |
speaker |
Select the speaker. The applicable options include: [1] English & Chinese: "Bruce", "Theresa", "Angela", "MCHEN_Bruce", "MCHEN_Joddess"; [2] Only English: "ENG_Bob", "ENG_Alice", "ENG_Tracy". |
This function sends the content that the user would like to convert into speech to the ITRI TTS server via SOAP. An ID will be returned for further process.
This function will work as a part of function tts_ITRI()
.
A string which contains the request ID assigned by the ITRI TTS server.
Xiaodong Deng
http://tts.itri.org.tw/development/web_service_api.php
1 2 3 4 | text <- "hello."
# Using default setting: speed=0, volume=100, speaker="Bruce".
tts_ITRI_getID(text, speed=0, volume=100, speaker="Bruce")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.