Skip to content
Uses the Matrix Creator for Audio Recording
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
microphone_array
.gitignore
CMakeLists.txt
README.md

README.md

Requirements

In order to use these examples:

  • Make sure you have MATRIX HAL installed on your MATRIX device

Download Examples

The following commands download and compile all the examples:

sudo apt-get install cmake g++ git
cd ~/MatrixCreatorAudioRecorder
mkdir build
cd build
cmake ..
make -j4

The main file that controls recording audio is created under build/mic_record_file Once it begins running, you have to hit ctrl+z to stop recording, otherwise it runs infinitely. Once you stop it, you'll have 9 different *.raw files. Each one is numbered and corresponds to a specific mic on the array. The 9th *.raw file is a beamformed channel from the other 8. Similarly, the *.wav files that are created will be named according to the channel they came from.

You can’t perform that action at this time.