I'm a new beginner and I needs some help

I just want to get microphone data to locate sound source.

The post said that I have to use HAL to get microphone data.
But I don’t even know how to start HAL.

Can you explain how to use this? HAL is the lowest level so do I have to install MATRIX OS and CORE first? Very confusing…

Hi @smkim,

You are right, HAL is the lowest layers that uses C++ to access the MATRIX Creator. You don’t need anything else if you use HAL.
My advise is to go and clone and build the HAL repo. Then you can run the examples.
Some prerequisites :

echo "deb http://packages.matrix.one/matrix-creator/ ./" | sudo tee --append /etc/apt/sources.list;
sudo apt-get update;
sudo apt-get upgrade;
sudo apt-get install libmatrixio-creator-hal libmatrixio-creator-hal-dev
sudo apt-get install cmake g++ git libfftw3-dev wiringpi matrix-creator-init libgflags-dev
sudo reboot

Cloninng the repo and building :

git clone https://github.com/matrix-io/matrix-creator-hal.git
cd matrix-creator-hal
mkdir build
cd build
cmake ..

Finally run the examples (e.g. an example using the mics):

cd demos
ls -l