Code Monkey home page Code Monkey logo

filter_audio's People

Contributors

ansa89 avatar haavard avatar irungentoo avatar ovidiusabou avatar phigoro avatar redetection avatar rokups avatar thespiritxiii avatar willhope avatar yurivict avatar zamaudio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

filter_audio's Issues

Real speech will be not clear after using noise suppression

Hi,
I tried to use noise suppression to clear some noise. It seems well that much noise can be suppressed. But real people voice will be reduced and people voice sounds not clear and low.

So I have to use 'agc' to normalize it. But It sound worse. Any idea for it? Is the parameter not right in your codes below?

        gain_config.targetLevelDbfs = 1;
    gain_config.compressionGaindB = 50;
    gain_config.limiterEnable = kAgcTrue;


    if (WebRtcAgc_Init(agcInst, 0, 255, kAgcModeAdaptiveDigital, 16000) == -1 || WebRtcAgc_set_config(agcInst, gain_config) == -1) {
        fprintf(stderr, "Could not WebRtcAgc_Init\n");
    }

Thanks a lot for your answer.

Best,
John

Something's wrong with the stack

Hi,
I'm trying to implement filter_audio into qTox.
Something is wrong with the app's stack. After the programm had called the procedure filter_audio 10-500 times, the trace stack of the application became overwritten.

First I tried to compile all c-files into libfilteraudio.so -- this was no problem. Linking to this file also was no problem the problem was ... (see above).

Then I turned all *.c files into *.cpp files added -fpermissive to the gcc params. This did not solve the problem.

I also updated gcc to v4.9.2 -- same behavior.

What's wrong?
Is it a bug of gcc or a bug in the code? Or is it a bug in the C++-wrapper?

Relevant Code:

https://gist.github.com/mwuttke97/0301e440af68a8df3420

Output:

https://gist.github.com/mwuttke97/6fed0f4cbe7c4197e052

where Openal ?

To build the test program (you need openal)................

where's Openal ????
What is the complete name of the software ???

Please create a stable release

Downstream distributions need these releases to make stable packages.
It is sufficient to give a version number like 0.0.1 .
Thank you~

How to split frame to high and low band

Hello,

I`m currently writing a .net wrapper for your lib, because I would like to use it in a dotnet based application on Linux.

At the moment I got stuck at WebRtcNs_Process... can anyone give me a hint how to split the wave-frame from the mic into H- and L-band (and of course merge the filtered results).

Thank you very much for your help

Carl

Using filter_audio as pipe stream filter

Hello. I am searching for a way to filter noise of laptop fan from my microphone input.
Does this library doing it? or just echo cancellation?

I am not C/C++ dev, but want to use this lib to filter a pipe stream, like:
arecord -f cd -t wav | ./filter_stream | mplayer -
How is hard to change the test program to act like this? Does it use some buffers? I want to understand, if I will be able to do that or search for another way...
thanks

mem overflow bug

filter_audio/filter_audio.c

Lines 320 to 321 in ada2f4f

int16_t temp[nsx_samples];
memset(temp, 0, nsx_samples*sizeof(float));

memset tries to write twice the bytes of the actual buffer size

A/libc: FORTIFY: memset: prevented 640-byte write into 320-byte buffer

should say:

memset(temp, 0, nsx_samples*sizeof(int16_t)); 

thanks to @kaefert for helping me find this

GPG signatures for source validation

As we all know, today more than ever before, it is crucial to be able to trust our computing environments. One of the main difficulties that package maintainers of Linux distributions face, is the difficulty to verify the authenticity and the integrity of the source code.

The Arch Linux team would appreciate it if you would provide us GPG signatures in order to verify easily and quickly of your source code releases.

Overview of the required tasks:

Additional Information:

Thanks.

Compilation error on windows

I run into following error while trying to compile filter_audio on windows:

make install
LD    libfilteraudio.dll
Can't open .lib file:
collect2.exe: error: ld returned 1 exit status
make: *** [libfilteraudio.dll] Error 1

Strange is, that the error doesn't show which .lib file couldn't be opened.

Compiler is gcc 4.8.1, mingw32

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.