freeswitch 中speak的用法

本文档介绍了如何在FreeSWITCH环境中安装和使用mod_flite模块进行文本转语音(TTS)。首先,需要在FreeBSD、Mac、Linux或Windows上安装mod_flite,并确保不同时加载mod_cepstral。安装完成后,在lua或dialplan中即可使用speak功能。此外,还提到了设置输出音频流音量的方法。
摘要由CSDN通过智能技术生成


首先要遵循下列步骤:


  • Flite (aka Festival Lite) is a small embeddable TTS (Text to Speech) engine that's totally free.
  • Works on FreeBSD, Mac, Linux and Windows.
  • Don't load mod_cepstral and mod_flite at the same time. (symbol collision).
  • Voices are 16khz, and are:
    • slt (female voice)
    • rms (male voice)
    • awb (male voice)
    • kal (male voice)


Installing mod_flite

  • In modules.conf uncomment asr_tts/mod_flite; (note that's the one at the top level of your src directory and NOT to be confused with the freeswitch/conf/modules.conf.xml file which you will also have to edit later - see below). This installation has been written assuming that you are going to be compiling this module.

Comment out asr_tts/mod_cepstral from the same file. Both mod

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值