• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

aec/H22-Nov-2016-5,4453,843

agc/H22-Nov-2016-2,9912,087

ns/H22-Nov-2016-5,2863,505

other/H22-Nov-2016-10,3866,303

test/H22-Nov-2016-324201

vad/H22-Nov-2016-1,840952

zam/H22-Nov-2016-11795

MakefileH A D03-May-20222.8 KiB7967

READMEH A D22-Nov-2016922 169

filter_audio.cH A D22-Nov-201611.6 KiB419326

filter_audio.hH A D22-Nov-2016998 3013

filteraudio.pcH A D22-Nov-2016229 108

README

1Lightweight audio filtering library made from webrtc code.
2
3Build and install using make (`sudo make install`).
4
5My code in here is licenced under the same BSD 3-clause license as the code I took from: https://code.google.com/p/webrtc/
6
7To build the test program, you need portaudio (version 19 from their website), libsndfile (you can get it from your distro repositories):
8
9gcc -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
10
11To 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).
12The 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
13not your voice.
14
15./playback_mic speech_orig.wav [output.wav] # if no output file is presented the default is echoes_removed.wav
16