itri-tts
[DEPRECATED] ITRI TTS Web Service API for Node.js
Deprecation Notice
ITRI TTS Web Service API has stopped working.
Install
$ npm install --save itri-tts
Usage
var TTSClient = var tts = accountID password
ConvertSimple
var text = '您好,我是Bruce,感謝您使用工研院文字轉語音Web服務。' tts /* Promise Support */tts
ConvertText
var options = TTStext: '您好,我是Bruce,感謝您使用工研院文字轉語音Web服務。' TTSSpeaker: 'Bruce' // 'Bruce', 'Theresa', 'Angela', default = Bruce volume: 100 // 0 ~ 100, default = 100 speed: 0 // -10 ~ 10, default = 0 outType: 'wav' // 'wav', 'flv', default = 'wav' tts /* Promise Support */tts
ConvertAdvancedText
var options = TTStext: '您好,我是Bruce,感謝您使用工研院文字轉語音Web服務。' TTSSpeaker: 'Bruce' // Bruce, Theresa, Angela, default = Bruce volume: 100 // 0 ~ 100, default = 100 speed: 0 // -10 ~ 10, default = 0 outType: 'wav' // wav, flv PitchLevel: 0 // -10 ~ 10, default = 0 PitchSign: 0 // 0, 1, 2, default = 0 PitchScale: 5 // 0 ~ 20, default = 5 tts /* Promise Support */tts
GetConvertStatus
var convertID = 1234567890 tts /* Promise Support */tts
Reference
License
MIT © Chun-Kai Wang