Skip to content

Instantly share code, notes, and snippets.

@ivesdebruycker
Last active September 10, 2018 07:43
Show Gist options
  • Save ivesdebruycker/5b1c8c515220fdf251ca6dae91ce3fef to your computer and use it in GitHub Desktop.
Save ivesdebruycker/5b1c8c515220fdf251ca6dae91ce3fef to your computer and use it in GitHub Desktop.
Cava Audio Visualizer on Odroid C1

Raspbian 8 jessie - 3.10.96 - Volumio - Odroid C1

Compile + install libsigsegv

wget https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.12.tar.gz
gunzip libsigsegv-2.12.tar.gz
tar -xvf libsigsegv-2.12.tar
cd libsigsegv-2.12
./configure --prefix=/usr --enable-shared --disable-static
make
make check
make install
sudo make install

Install + compile cava

sudo apt-get install automake libtool
git clone https://github.com/karlstav/cava
cd cava
./autogen.sh
./configure
make

Configure cava

cp example_files/config ./myconfig

...
[general]
ascii_max_range = 8

...
[input]
method = fifo
source = /tmp/mpd.fifo

...
[output]
method = raw
data_format = ascii
ascii_max_range = 8
./cava -p myconfig

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment