GithubHelp home page GithubHelp logo

road2018 / webrtc_splitting_filter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jagger2048/webrtc_splitting_filter

0.0 0.0 0.0 60.88 MB

This is a splitting filter demo. You can find the processing in webrtc's AGC and NS module for the 32khz and 48khz sample rate.

C++ 1.56% C 98.44%

webrtc_splitting_filter's Introduction

The performance of Splitting filter

Below is the performance of the WebRtc's three-band splitting filter and the two-band splitting filter. We can find that there are two -30dB notches located at around 8khz and 16khz in the frequency response of the three-band filter. Be careful with those cases when using in your production.

When running in PC with a 1.8 GHz CPU, it costs about 1.4077 ms per analysis and synthesis operations,2.53 MIPS in the test. Meanwhile, apply the same test to the two-band QMF filter, it only costs 0.1865ms per analysis and synthesis operations, 0.355 MIPS. As it has been optimized with fix-point processing in the implement.

More details and usages please find the code in the Visual Studio project. These two splitting filter implements are captured from WebRtc and rewrote with C.

1548299479236

1548303239389

update: QMF for two bands case

For the two bands case, 32k sample rate, we test with a 0~20kHz swept-sine signal. Below is the input signal:

The output of lower band :

And the output of upper band :

we can find that the signal of upper band is flip in frequency domain.


Measured with 0~20kHz swept-sine signal, the sample rate is 48kHz for the three-band splitting filter and 32khz for the two-band filter.

Reference from Simultaneous measurement of the impulse response and distortion with a swept-sine technique

webrtc_splitting_filter's People

Contributors

jagger2048 avatar

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.