Skip to main content
Files added late

2 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.

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()))

Metadata

Release files for webrtc-audio-processing 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Files added late

2 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for webrtc-audio-processing 0.1.3
File Size Uploaded
webrtc_audio_processing-0.1.3.tar.gz 611.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for webrtc-audio-processing 0.1.3
File Interpreter ABI Platform
webrtc_audio_processing-0.1.3-cp36-cp36m-linux_armv7l.whl CPython 3.6 CPython 3.6 pymalloc linux armv7l Details
webrtc_audio_processing-0.1.3-cp27-cp27mu-linux_armv7l.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode linux armv7l Details

Total release size: 5.2 MB

Release files / webrtc_audio_processing-0.1.3.tar.gz

Download URL webrtc_audio_processing-0.1.3.tar.gz
Size 611.2 kB
Tags Source
SHA-256 checksum
How to use checksums
247a8fe4567317b200839b46c93310deed15e8c0ec34a83c6d1b595a5df71754
BLAKE2b-256 checksum
How to use checksums
ca0beeca6ad8a7cabf3c6da8515700b7a29690269e3aae1e96ea24db1a466ad9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / webrtc_audio_processing-0.1.3-cp36-cp36m-linux_armv7l.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL webrtc_audio_processing-0.1.3-cp36-cp36m-linux_armv7l.whl
Size 2.3 MB
Tags CPython 3.6 CPython 3.6 pymalloc linux armv7l
SHA-256 checksum
How to use checksums
06e09bc985cb698d827f458d08d9fecc613f8270e82f6c799da95963c8ae6de7
BLAKE2b-256 checksum
How to use checksums
1f4f8b9d5d23e67b6e455801878a7e8b34bbe6c10686598c2fc69fe23b785591
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release files / webrtc_audio_processing-0.1.3-cp27-cp27mu-linux_armv7l.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL webrtc_audio_processing-0.1.3-cp27-cp27mu-linux_armv7l.whl
Size 2.3 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode linux armv7l
SHA-256 checksum
How to use checksums
5483d564d5b500d636d2660536a274278ed7b604839ee54f1992c908e1a92d4e
BLAKE2b-256 checksum
How to use checksums
41cf2240617fe821590ebd5c2c77361b67f81a8be2a42e7e44ea83b754e314ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.1.3 This release

3 release files

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page