Giter VIP home page Giter VIP logo

xunfeitts's Introduction

XunFeiTTS

XunFei text-to-speech intergration for unreal engine 5.

虚幻引擎插件,支持讯飞在线语音合成

联系信息

支持版本

  • 5.0 - 5.2

前置准备

蓝图节点

节点: XunFei Text to Speech

  • 此节点继承自UBlueprintAsyncActionBase类
输入 说明
Text 要合成语音的文本,合成时间受文本长度影响,文本越长耗时越久
Vcn 账号里可用的发音人,请前往讯飞控制台查询 https://passport.xfyun.cn/login
Key 账号通行信息,请前往讯飞控制台查询 https://passport.xfyun.cn/login
输出 说明
Streaming Sound Wave 继承自USoundWave的流式音波类,支持流式播放
Raw Data Stream Base64 流式的Base64编码的音频字符串,内容为本次传输的部分
Raw Data Bytes Stream 流式的二进制音频数据,内容为本次传输的部分
Error Message 发生错误时的错误信息
委托输出 说明
On Start 已连接上讯飞,开始合成,此时还未收到任何数据
On Progress 合成进行中,此时可以收到数据
On Finish 完成合成
On Error 连接发生错误
On Close 连接关闭

节点连线参考

  • 基础使用方法:在On Progress后面连接一个Do Once节点,将On Finish连接至Do Once节点的Reset上,并在Do Once节点的Completed后连接Play Sound 2D(使用的声音为该StreamingSoundWave)播放流式声音。

参考

讯飞语音合成(流式版)WebAPI 文档 https://www.xfyun.cn/doc/tts/online_tts/API.html

xunfeitts's People

Contributors

circle1688 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.