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.
使用ASR Websocket方式(ws://{server}:{port}/paddlespeech/asr/streaming)传入MP3音频数据返回一两次result:“”后websocket直接断开,{status:1006, reason: ""}。 但是发送{ "name": "test.mp3", "signal": "start", "nbest": 1 } 又是返回 {status: 'ok', signal: 'server_ready' }。 同样方式,换成 .wav,没有问题。 所以是不支持 mp3,还是bug?
相关关键代码如下(uniapp小程序)