Giter VIP home page Giter VIP logo

Comments (6)

jiwenjiang avatar jiwenjiang commented on May 26, 2024

No description provided.

已修复

from react-audio-analyser.

wentao978 avatar wentao978 commented on May 26, 2024

谢谢,还有一个问题,用百度云的sdk解码一直报错
3301 错误
识别结果实际为空。可能是音频质量过差,不清晰,或者是空白音频。 有时也可能是pcm填错采样率。如16K采样率的pcm文件,填写的rate参数为8000。
“修改了demo/index.js line:30 // audioOptions: {sampleRate: 30000}, // 设置输出音频采样率 ”,然后录音文件声音太粗了,是根据声道数和采样率有关吗?

from react-audio-analyser.

jiwenjiang avatar jiwenjiang commented on May 26, 2024

声道数是确定的,采样率越低音频信息越少,这些是可以不设置的,走默认就好

from react-audio-analyser.

wentao978 avatar wentao978 commented on May 26, 2024

嗯,通过AudioBuffer看到,声道numberOfChannels: 1, 采样率sampleRate: 44100,默认是这些配置,可是百度云那边的采样率《

3311 用户输入错误 采样率rate参数不在选项里 目前rate参数仅提供8000,16000两种,填写4000即会有此错误


能不能帮忙看看这个要怎么处理才合适呢?

from react-audio-analyser.

jiwenjiang avatar jiwenjiang commented on May 26, 2024

这个没有接触过。。可能解答不了你了,不好意思。。

from react-audio-analyser.

wentao978 avatar wentao978 commented on May 26, 2024

嗯,我那我再查查,谢啦~

from react-audio-analyser.

Related Issues (20)

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.