av/cmd/audio-player/looper
Scott 0399051e0e cmd/audio-player/looper: added make file 2020-02-28 15:55:30 +10:30
..
Makefile cmd/audio-player/looper: added make file 2020-02-28 15:55:30 +10:30
README.md cmd/audio-player/looper: added make file 2020-02-28 15:55:30 +10:30
circleci.go cmd/audio-player/looper: use same logger as revid 2020-02-28 14:30:55 +10:30
main.go cmd/audio-player/looper: use same logger as revid 2020-02-28 14:30:55 +10:30
pi0.go cmd/audio-player/looper: use same logger as revid 2020-02-28 14:30:55 +10:30
pi3.go cmd/audio-player/looper: use same logger as revid 2020-02-28 14:30:55 +10:30

README.md

NAME

test-audio/looper/README.md

AUTHORS

Ella Pietraroia ella@ausocean.org

Pi Setup:

  • pull master
  • navigate to /go/src/bitbucket.org/auscean/av/cmd/audio-player/looper $sudo nano main.go
  • chage file variable at top of function to be wav file that you have put onto the pi (hint: spc command to put a new file on the pi)
  • Build using go build -tags pi0 or go build -tags pi3
  • run makefile $sudo make install_hard $systemctl enable rc-local $sudo systemctl start rc-local.service
  • after starting the service the looping should start straight away cmd/audio-player/looper:

Useful commands:

$cat /tmp/rc.local.log
$sudo systemctl status rc-local.service
$cat audio.log (in looper directory)

On computer

$scp something.wav pi@192.168.1.106:/home/pi