Software - fo-am/sonic-kayaks GitHub Wiki

System startup/shutdown and testing

To test the audio you can shutdown the system via:

$ service sonic-bike stop

Then you can try starting the audio up on the command line and see the errors:

$ cd app-kayak/audio-restarter
$ ./start-jack.sh

This script shuts down and restarts all the bluetooth audio, it often won't start up so it's designed to be repeatedly called (we had to do this to work automatically out on the water when e.g. the speaker goes out of range).

25/05/18

Processing takes place on both the Raspberry Pi and other locations (i.e. a server or local PC). This page documents software requirements for the project as a whole.

Raspbian 8.0 (jessie)

  • Running on a Raspberry Pi 2 + 3
  • System image can be copied from one card to another

Python

  • Python 2 and Python 3 are required. Currently Python 2.7.9 and 3.4.2 are installed on the Pi. All processing scripts for mapping purposes are written in Python 3.
  • The following modules are required throughout the software: csv, datetime, geojson, glob, numpy, os, pandas, scipy, subprocess, time
Notes

geojson was installed with sudo pip3 install geojson (on the pi)

pandas was installed with sudo pip3 install pandas==0.19 (on the pi)

LUA

???

OSC

???

Puredata

???