#!/bin/bash

cd /home/pi/op25/op25/gr-op25_repeater/apps/

lxterminal --geometry=80x36 -l -e "./rx.py --args 'rtl' --gains 'lna:35' -S 250000 -f 853.6e6 -g 90 -q -1 -o 50000 -T n8ur_trunk.tsv -w 2> stderr.2" &

# give rx.py time to get started
sleep 5

lxterminal -l -e "nc -kluvw 1 127.0.0.1 23456 | aplay -c1 -f S16_LE -r 8000" &

cd /home/pi
