GithubHelp home page GithubHelp logo

xunfeisdk's Issues

语音听写出错

没有报错,但是反复测试了几个文件,识别出来的文字,和语音完全对不上。
不知道哪里不对了。返回结果:

{ code: '0',
  data: '咋啦啊。',
  desc: 'success',
  sid: 'zat0003855f@ch6b010ece31003d3700' }

但实际上我的语音说的是:讯飞语音

装包后 import * as xunfei from 'xunfeisdk' 报SyntaxError: Unexpected token import异常

PS C:\Users\Sam\Desktop\AIUIDemo> node .\AIUI.js
C:\Users\Sam\Desktop\AIUIDemo\AIUI.js:5
import * as Xunfei from 'xunfeisdk'
^^^^^^

SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3

有关比特率问题

我在前端采集之后的语音 比特率都是705, 讯飞,百度识别都失败.
我看您 测试音频的比特率都是 256,很好奇,您是怎么采集的呢?

我在网上搜了很久,也没找到对应 频率互换的方法..

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.