rpi-sstv/beacon.sh

6 wiersze
292 B
Bash
Czysty Zwykły widok Historia

2013-10-01 08:16:41 +00:00
#!/bin/sh
python /home/pi/beacon.py | /home/pi/unixsstv/gen_values 44100 >/tmp/wav.bin
play -q -r 44100 -t f32 -c 1 --norm /tmp/wav.bin >/dev/null 2>&1
python -c 'import RPi.GPIO as G; G.setmode(G.BCM); G.setup(18, G.OUT); G.output(18, False); G.cleanup()' >/dev/null 2>&1
rm -f /tmp/wav.bin