tts_ITRI_getID: Get request ID from ITRI TTS service via SOAP

Description Usage Arguments Details Value Author(s) References Examples

Description

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).

Usage

1
tts_ITRI_getID(content, speed, volume, speaker)

Arguments

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".

Details

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().

Value

A string which contains the request ID assigned by the ITRI TTS server.

Author(s)

Xiaodong Deng

References

http://tts.itri.org.tw/development/web_service_api.php

Examples

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")

Rtts documentation built on May 2, 2019, 3:45 p.m.

Related to tts_ITRI_getID in Rtts...