-
Notifications
You must be signed in to change notification settings - Fork 86
/
README
15 lines (9 loc) · 922 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Lightweight audio filtering library made from webrtc code.
Build and install using make (`sudo make install`).
My code in here is licenced under the same BSD 3-clause license as the code I took from: https://code.google.com/p/webrtc/
To build the test program, you need portaudio (version 19 from their website), libsndfile (you can get it from your distro repositories):
gcc -g3 -Wall -o playback_mic test/playback_mic.c *.c agc/*.c ns/*.c aec/*.c other/*.c zam/*.c vad/*.c -lpthread -lm -lportaudio -lsndfile
To run the test you will need a sample input file in .wav format (like this: https://www.opus-codec.org/examples/samples/speech_orig.wav).
The program will exit after the file is played. You should also try to talk while the file is playing to see how it removes the echoes but
not your voice.
./playback_mic speech_orig.wav [output.wav] # if no output file is presented the default is echoes_removed.wav