15
0
Fork
You've already forked bannervis
0
Audio visualisations for use with squeezelite on an 80x8 pixel RGB led banner
  • C 98.3%
  • Shell 1%
  • Makefile 0.7%
Find a file
2014年12月19日 20:23:20 +01:00
LICENSE Initial commit 2014年07月15日 01:22:26 +02:00
Makefile Undo accidental change to Makefile 2014年12月19日 20:23:20 +01:00
README.md Update spectrogram description 2014年07月29日 13:38:34 +02:00
spectrogram.c Time based framerate for better fluidity 2014年10月08日 11:28:12 +02:00
spectrogram.sh Add shell scripts for spectrogram and spectrum visualisation 2013年03月07日 21:25:57 +01:00
spectrum.c Use 8 bars per octave in the spectrum visualisation 2014年07月31日 16:28:20 +02:00
spectrum.sh Add shell scripts for spectrogram and spectrum visualisation 2013年03月07日 21:25:57 +01:00
squeeze_vis.h Move definition of structure in mmap-ed /dev/shm file into its own header file 2014年07月27日 14:25:21 +02:00
vumeter.c Run the audio visualisation only when the audio runs 2014年07月30日 15:40:16 +02:00
waveform.c Run the audio visualisation only when the audio runs 2014年07月30日 15:40:16 +02:00
waveform.sh * Add raspi compiler flags 2014年08月01日 21:52:56 +02:00
waveformf.c Avoid a division-by-zero in the color normalization 2014年12月19日 14:33:44 +01:00

bannervis

Audio visualisations for use with squeezelite on an 80x8 pixel RGB led banner

See also: https://github.com/bertrik/ledbanner

Contains the following audio visualisations:

  • a VU-meter, shows the RMS value and peak RMS of the left and right audio channels
  • a waveform display, shows the instantaneous waveform of the mono audio channel (left + right)
  • a spectrogram, showing spectral energy, each horizontal line representing one octave

To run this:

  • get the squeezelite source code and compile it with option OPT_VIS (e.g. add OPTS+=$(OPT_VIS) to the Makefile)
  • start squeezelite with option -v, this causes it to create a file /dev/shm/squeezelite-XX:XX:XX:XX:XX:XX containing a structure with raw audio data (16-bit little-endian stereo)
  • run one of these visualisation applications with the shm file name as argument and pipe the output to the ledbanner.

To build this:

  • make