av/cmd/audio-player/looper
Saxon Milton 19cbcfb08a Merged in audio-looper-netsender (pull request #386)
* cmd/audio-player/looper: integrating netsender client in to audio-looper to allow for sending of logs to cloud

* cmd/audio-player/looper: added netsender.conf file for copying when making

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-09 04:46:17 +00:00
..
Makefile Merged in audio-looper-netsender (pull request #386) 2020-03-09 04:46:17 +00:00
README.md Merged in audio-looper-netsender (pull request #386) 2020-03-09 04:46:17 +00:00
circleci.go cmd/audio-player/looper: added missing file headers 2020-03-06 15:26:35 +10:30
main.go Merged in audio-looper-netsender (pull request #386) 2020-03-09 04:46:17 +00:00
netsender.conf Merged in audio-looper-netsender (pull request #386) 2020-03-09 04:46:17 +00:00
pi0.go cmd/audio-player/looper: fixed indentation of file headers 2020-03-06 17:55:13 +10:30
pi3.go cmd/audio-player/looper: fixed indentation of file headers 2020-03-06 17:55:13 +10:30
rc.local cmd/audio-player/looper: don't need to deal with stdout to file anymore in rc.local now that we're using the lumberjack logger 2020-03-06 18:00:18 +10:30

README.md

DESCRIPTION

looper is a process that will continually repeat playback of an audio file. Intended hardware is raspberry pi 3 or raspberry pi zero (with audio injector sound card hat, see http://www.audioinjector.net/rpi-zero).

AUTHORS

Ella Pietraroia ella@ausocean.org Saxon Nelson-Milton saxon@ausocean.org

Pi Setup:

  1. sudo make install_hard
  2. modify ma field in /etc/netsender.conf file to be mac of device
  3. modify audio file flag in ./looper execution command in /etc/rc.local to be path of file we'd like to play
  4. systemctl enable rc-local
  5. sudo systemctl start rc-local.service
  6. To check that install steps were successful, restart device and confirm that sound plays.