Code Monkey home page Code Monkey logo

webrtc-'s Introduction

webRTC-

利用webRTC对语音进行处理,实现VAD和降噪处理 使用方法 语音处理代码文档 环境:vs2015 python3 文件:

  1. wav2pcm.py 将wav文件转换成pcm格式

  2. pcm2wav.py 将pcm格式转换成wav格式

  3. audio_process项目 对pcm格式文件使用vad算法,确定有效语音端点

  4. WebRtcAudioTest项目 对pcm格式文件使用ns进行降噪 使用流程:

  5. 运行wav2pcm.py文件对wav格式文件进行处理,将其转成pcm格式,其中第一个红色方框里填写源文件目录(这里的反斜杠需要变成斜杠),第二个红色方框里填写输出目录(这里的反斜杠需要变成斜杠)。 加载失败

  6. 用vs打开audio_process项目里source文件夹下的audioprocess.sln文件,运行项目,在console里面根据提示输入源文件目录(这里的源文件目录需要选择上一步得到的pcm文件目录,不能是wav格式的)和输出目录,回车就能自动对文件进行vad算法处理,确定音频端点。 加载失败 加载失败

  7. 用vs打开WebRtcAudioTest项目文件夹下的WebRtcAudioTest.sln文件,运行项目,在console里面根据提示输入源文件目录(这里的源文件目录需要选择上一步vad算法处理得到的pcm文件目录)和输出目录,回车就能自动对文件进行降噪处理。 加载失败 加载失败

  8. 运行pcm2wav.py文件,将pcm格式文件转换成wav格式, 其中第一个红色方框里填写源文件目录(这里的反斜杠需要变成斜杠),第二个红色方框里填写输出目录(这里的反斜杠需要变成斜杠)

加载失败

webrtc-'s People

Contributors

yorlife avatar

Stargazers

MichaelChen avatar Gaorong zhao avatar Yang Yi avatar  avatar Rice Tang avatar  avatar  avatar  avatar JIA avatar leo avatar Liu Dongxu avatar  avatar Sitong Liu avatar asdfs avatar  avatar ADFPGA avatar  avatar  avatar  avatar TY Bian avatar  avatar  avatar Yueqian Zhang avatar shfa.chan avatar Artemis avatar  avatar wenjing avatar  avatar  avatar  avatar  avatar  avatar  avatar yanyusong avatar  avatar  avatar  avatar Anderson Huang avatar  avatar jin avatar Yang Beining avatar BigFlood avatar WangXiaoHai avatar  avatar cgs avatar ZhouJE avatar 昱彤 avatar  avatar

Watchers

 avatar

webrtc-'s Issues

问题实在是太多了,解决不过来

就文件的读取,循环列表真的挺容易出错的,还是单个文件能试试效果的好,可是单个文件也出问题了,没有时间接着debug了哈哈哈哈

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.