下载 人自由的桌面上,你自己个人的机器人你的电脑或Mac
Bot Libre Forum

Add Speech to your Website using the Bot Libre TTS JavaScript SDK

通过 admin 发布 Nov 17 2014, 13:07

The Bot Libre JavaScript SDK provides free dynamic access to all of Bot Libre's services including chat bots, live chat, chat rooms, forums, and speech. The speech API for the SDK can be used in conjunction with chat bots, live chat, or on its own.

The speech API is part of the Bot Libre JavaScript API.
To add the Bot Libre JavaScript SDK to your webpage you just need to import it in your webpage's section.

The speech API is SDK.tts(text, voice). The text is the text you would like converted to voice, and the voice is the voice you would like to use. A voice is not required, if none is passed, the default voice is used. There are currently 20 voices available in several languages. You can test the voices here.

The available voices include:

  • cmu-slt - English : US : Female
  • cmu-slt-hsmm - English : US : Female
  • cmu-bdl-hsmm - English : US : Male
  • cmu-rms-hsmm - English : US : Male
  • dfki-prudence-hsmm - English : GB : Female
  • dfki-spike-hsmm - English : GB : Male
  • dfki-obadiah-hsmm - English : GB : Male
  • dfki-poppy-hsmm - English : GB : Female
  • bits1-hsmm - German : DE : Female
  • bits3-hsmm - German : DE : Male
  • dfki-pavoque-neutral-hsmm - German : DE : Male
  • camille - French : FR : Female
  • camille-hsmm-hsmm - French : FR : Female
  • jessica_voice-hsmm - French : FR : Female
  • pierre-voice-hsmm - French : FR : Male
  • enst-dennys-hsmm - French : FR : Male
  • istc-lucia-hsmm - Italian : IT : Male
  • voxforge-ru-nsh - Russian : RU : Male
  • dfki-ot-hsmm - Turkish : TR : Male
  • cmu-nk-hsmm - Telugu : TE : Female

Example Speech API Usage

Try it out now (press speak)

When using the Bot Libre SDK, ensure you set your application id. You can obtain your application id from your user page.


Id: 566608
标签: speech, tts, api, blog
发布: Nov 17 2014, 13:07
更新: Mar 6 2017, 11:34
答复: 0
的风景: 7157, 今天: 6, 周: 17, 一个月: 50
我敢肯定
标志后的进攻,或者在违反规则网站