All Projects → xiongyihui → python-webrtc-audio-processing

xiongyihui / python-webrtc-audio-processing

Licence: other
Python bindings of WebRTC Audio Processing

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to python-webrtc-audio-processing

android-vad
This VAD library can process audio in real-time utilizing GMM which helps identify presence of human speech in an audio sample that contains a mixture of speech and noise.
Stars: ✭ 64 (-54.29%)
Mutual labels:  vad
Ffsubsync
Automagically synchronize subtitles with video.
Stars: ✭ 5,167 (+3590.71%)
Mutual labels:  vad
spokestack-android
Extensible Android mobile voice framework: wakeword, ASR, NLU, and TTS. Easily add voice to any Android app!
Stars: ✭ 52 (-62.86%)
Mutual labels:  vad
vad-plotter
Plotter for NEXRAD VWP retrievals.
Stars: ✭ 18 (-87.14%)
Mutual labels:  vad
Vad
android vad library base on webrtc vad
Stars: ✭ 24 (-82.86%)
Mutual labels:  vad
object centric VAD
An Tensorflow Re-Implement of CVPR 2019 "Object-centric Auto-Encoders and Dummy Anomalies for Abnormal Event Detection in Video"
Stars: ✭ 89 (-36.43%)
Mutual labels:  vad
spokestack-ios
Spokestack: give your iOS app a voice interface!
Stars: ✭ 27 (-80.71%)
Mutual labels:  vad
cobra
On-device voice activity detection (VAD) powered by deep learning.
Stars: ✭ 76 (-45.71%)
Mutual labels:  vad
voice-activity-detection
Pytorch implementation of SELF-ATTENTIVE VAD, ICASSP 2021
Stars: ✭ 82 (-41.43%)
Mutual labels:  vad
nativescript-getters
A NativeScript plugin that adds six new getters – in addition to the native "getViewById" method – to retrieve one or more views by tag, type, class, style, value pair or property.
Stars: ✭ 12 (-91.43%)
Mutual labels:  ns
XboxDownload
Xbox下载助手,支持Xbox、微软商店、PS、NS、EA Desktop & Origin、战网国际服、Epic下载加速,修复Steam商店社区访问。
Stars: ✭ 936 (+568.57%)
Mutual labels:  ns
Apollo 11
Original Apollo 11 Guidance Computer (AGC) source code for the command and lunar modules.
Stars: ✭ 52,190 (+37178.57%)
Mutual labels:  agc

WebRTC Audio Processing for Python

Build Status Pypi

Python binding of WebRTC Audio Processing.

Requirements

  • swig
  • compile toolchain
  • python

Build

There are two way to build the package.

  1. using setup.py

    git clone https://github.com/xiongyihui/python-webrtc-audio-processing.git
    cd python-webrtc-audio-processing
    git submodule init && git submodule update
    python setup.py build
    sudo python setup.py install
  2. using Makefile

    git clone https://github.com/xiongyihui/python-webrtc-audio-processing.git
    cd python-webrtc-audio-processing
    git submodule init && git submodule update
    cd webrtc-audio-processing
    ./autogen.sh
    ./configure --with-pic
    make
    cd ../src
    make

Usage

from webrtc_audio_processing import AudioProcessingModule as AP

ap = AP(enable_vad=True, enable_ns=True)
ap.set_stream_format(16000, 1)      # set sample rate and channels
ap.set_ns_level(1)                  # NS level from 0 to 3
ap.set_vad_level(1)                 # VAD level from 0 to 3

audio_10ms = '\0' * 160 * 2         # 10ms, 16000 sample rate, 16 bits, 1 channel

# only support processing 10ms audio data each time
audio_out = ap.process_stream(audio_10ms)
print('voice: {}'.format(ap.has_voice()))
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].