MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    怎么把Voice消息转换为文本

    开发交流
    转文字
    3
    6
    266
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tini last edited by

      收到Voice消息后, 根据url下载的文件, 改后缀没法直接播放, 调用识别语音的接口也不成功, 这个文件还需要做什么处理吗?

      之后的版本会加上转文字的功能吗?

      1 Reply Last reply Reply Quote 0
      • RainChan
        RainChan 摸鱼 last edited by

        需要转换为一般播放器能够识别的格式,参考我的silk4j项目(可能无法工作)或者是GitHub的sill格式解码器

        T 1 Reply Last reply Reply Quote 0
        • T
          tini @RainChan last edited by

          @rainchan 我试试

          1 Reply Last reply Reply Quote 0
          • T
            tini last edited by

            已经完成了, 记录一下

            不需要特意把语音转换格式, 找到一个api, 可以直接识别silk格式的音频了

            H 1 Reply Last reply Reply Quote 0
            • H
              hikari @tini last edited by

              @tini 能问下是啥api么

              T 1 Reply Last reply Reply Quote 0
              • T
                tini @hikari last edited by

                @hikari 腾讯的录音文件识别极速版

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact