Instantly share code, notes, and snippets.

Embed
What would you like to do?
MATRIX Voice : Installing MATRIX Software and running HAL demos
##########
# PART 1 #
##########
# Add repo and key
curl https://apt.matrix.one/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.matrix.one/raspbian $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/matrixlabs.list
# Update packages and install
sudo apt-get update
sudo apt-get upgrade
# Install matrix software
sudo apt-get install matrixio-creator-init
# Reboot
sudo reboot
##########
# PART 2 #
##########
# Installing dependencies for HAL
sudo apt-get install git cmake g++ libfftw3-dev wiringpi libgflags-dev
# Clonning HAL
git clone https://github.com/matrix-io/matrix-creator-hal.git
# Building HAL demos
cd matrix-creator-hal/
mkdir build
cd build/
cmake ..
make -j4
# Running arc_demo (To stop running the demo press Ctrl + C)
cd demos/
./arc_demo
# Running mic_energy (To stop running the demo press Ctrl + C)
./mic_energy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment