[Solved] Support of Debian Stretch

Anything regarding the support of debian stretch planned?

We’re excited about Stretch, and we anticipate supporting it shortly. Lots of things to check.

1 Like

I have run Malos on Stretch for some minutes but now i am back on Jessie and will wait for an official support :slight_smile:

If i remember correctly i had to replace several dependencies for MC packages within /var/lib/apt and /var/lib/dpkg, for instance zmq, and used symbolic links for libraries to match new ones. Malos started but not in the background, a short test with Malos micarray was successful.

Can you share the exact Jessie Desktop or Lite image you started with to get the Matrix One Creator board working ? Did you follow the steps from https://github.com/matrix-io/matrix-creator-hal or somewhere else to get things working ?

(From http://downloads.raspberrypi.org/raspbian/images/ or http://downloads.raspberrypi.org/raspbian_lite/images/)

I don’t use the MC anymore as PyAudio / Pulseaudio is not supported.

Before I followed their standard documentation regarding installation with debian Jessie, version was from end of June. At least micarrays with Alsa and LEDs worked. Search the forum for arecord or alsa.

@kwiatks,
You should be good using the latest Rapsbian Stretch :

If you want to use our lower C++ library called HAL go to instructions here. You can also use NodeJS from the MOS layer here

Let know us how it goes.

I’ve actually be able to use the Desktop Stretch version of 2017-11-29-raspbian-stretch.zip and developed a script file to then install everything that is needed to get HAL to work - see below (not my own work - linked up with another person where I work) -

=============================
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install build-essential git-core sox alsa-utils curl cmake wget

cp ~/.asoundrc ~/.asoundrc.bak
wget https://raw.githubusercontent.com/IBM/serverless-home-automation/master/audio/.asoundrc.matrix -P ~/ #.asoundrc
mv ~/.asoundrc.matrix ~/.asoundrc

Clone matrix repository

git clone https://github.com/matrix-io/matrix-creator-hal.git

sudo apt-get -y install cmake g++ git libfftw3-dev wiringpi
sudo apt-get -y install libgflags-dev

Build matrix demos

cd matrix-creator-hal
mkdir build && cd build
cmake …
make

#sudo apt-get -y install build-essential git-core sox alsa-utils curl cmake wget
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

sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt -y install matrixio-creator-init

You MUST then reboot the Pi

=============================
#Test mic array demo
cd ~/matrix-creator-hal/build/demos/

echo “Recording voice”
./micarray_recorder

echo "Voice recording complete"
sox -r 16000 -c 1 -e signed -c 1 -e signed -b 16 mic_16000_s16le_channel_8.raw beamforming_result.wav

=============================

1 Like