Easy-to-use Speech Toolkit including Self-Supervised Learning model, SOTA/Streaming ASR with punctuation, Streaming TTS with text frontend, Speaker Verification System, End-to-End Speech Translation and Keyword Spotting. Won NAACL2022 Best Demo Award.
PaddleSpeech\demos\speech_web\web_client\src\components\SubMenu\TTS\TTST.vue
// 基于WS的流式合成 async getTtsChunkWavWS(){ if(this.ws.readyState != this.ws.OPEN){ this.$message.error("websocket 链接失败,请检查 Websocket 后端服务是否正确开启") return } // 初始化 chunks chunks = [] chunk_index = 0 reciveOver = false _reset()