Sidebar Menu

GetTTSInMP3

GetTTSInMP3 Allows you to convert text into a MP3 encoded sound file. Returns an MP3 encoded in 32,64, or 128. Requires additional License Key. Call 1-800-984-3710 or log in at www.cdyne.com to activate the TTS License Key. This key allows you to use the direct download TTS from webservices like Notify. This only allows for TTS to Sound Files. Phone Notify allows use of TTS in the notification call without this key.

Request Parameters

Parameter Name Data Type Sample Input
TextToSay: Input TTS text or combination of TTS and script for outbound phone call. String This is a sample basic call from Phone Notify
VoiceID: Input text-to-speech voice ID. See operation GetVoices for complete list. String 2
BitRate: Input bitrate for returned MP3 file. 128 is common for bandwidth

reasons while 192 and 256 are utilized for higher quality larger file sizes.

Integer 128
TTSrate: Input rate that text-to-speech will say text. (This can also be done within

TextToSay parameter; see TextToSay Speech Control Commands)

UnsignedByte 2
TTSvolume: Input volume that text-to-speech will say text. (This can also be done within

TextToSay parameter; see TextToSay Speech Control Commands)

UnsignedByte 2
LicenseKey: Required to authenticate users invoking this Web Service.

Trial Key. Production Key.

String F01d89fd-5155-5455-5585-e84ab8de8591

Response

Parameter Name Data Type Sample Output
GetTTSInMP3Result: Returns result of text-to-speech file request in MP3 format. Base64Binary Base64 encoded file data

Notes

Add a service reference to your project: http://sms2.cdyne.com/sms.svc?wsdl