Last active
July 7, 2021 11:44
-
-
Save yoelrc88/4df958979c1c2bd86f5d5c2b4c14d343 to your computer and use it in GitHub Desktop.
MATRIX Voice : Installing MATRIX Software and running HAL demos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## | |
# 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