MATRIX Lite RB is a library that allows users of varying skill levels to easily program their MATRIX Device.
This roadmap is for achieving a basic implementation of the checklist below. A nicer abstraction will eventually be added.
- Hal Mics
- Alsa Mics
Ensure you have a Raspberry Pi, attached with a MATRIX device, that's flashed with Raspbian Stretch.
1. Install MATRIX HAL
2. Install Ruby
sudo apt-get install ruby-full
3. Install SWIG
sudo apt-get install swig
4. Clone & Build matrix-lite-rb
git clone --recurse-submodules https://github.com/matrix-io/matrix-lite-rb cd matrix-lite-rb/matrix-hal-swig && git checkout master && cd .. make
You can use
ruby swigExamples.rb to see a basic led example. The code inside that file will contain untouched examples of the HAL Swig wrapper.
Similar to matrix-lite-py, we will eventaully provide an abstracted library for this.