AEC3 Extracted From WebRTC
This is a build adaptation for macOS Apple Silicon platform of the original project: ewan-xu/AEC3
- Visual Studio 2015
-
Install Homebrew (if not already installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install required packages:
brew install cmake
-
Clone the repository:
git clone https://github.com/EitanWong/AEC3.git cd AEC3 -
Build using the provided script:
cd demo chmod +x build.sh ./build.shOr manually:
cd demo mkdir -p build cd build cmake .. make -j$(sysctl -n hw.ncpu)
The demo application processes audio files for acoustic echo cancellation:
./demo ref.wav rec.wav out.wavWhere:
ref.wav: Reference/far-end signal (e.g., audio played from speakers)rec.wav: Recorded/near-end signal (e.g., microphone recording with echo)out.wav: Output file where the processed audio (echo-cancelled) will be saved
See demo.cc for example usage.
The AEC3 (Acoustic Echo Cancellation) implementation is extracted from the WebRTC project and adapted to run as a standalone library. This repository contains build scripts specifically for macOS Apple Silicon platform.