-
Notifications
You must be signed in to change notification settings - Fork 2
/
startup4
executable file
·56 lines (44 loc) · 1.21 KB
/
startup4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#! /usr/bin/tcsh
# Script to startup everything for a RTTY contest
# Single radio, dual VFO
# The SO2V bridge controls the rig & two copies of fldigi talk through it
# One of the fldigi is listening to the radio & the other is listening to
# the SDR
set RIG="DIRECT"
set FS=48
set FOLLOW="-so2v -bfo 1000"
set FOLLOW="-bfo 1000"
set LOOPBACK="-loopback -no_hamlib"
set LOOPBACK="-no_hamlib"
set PY_SDR = "~/Python/pySDR/pySDR.py"
set FLDIGI="~/fldigi-4.0.18/src/fldigi"
set FLDIGI="~/fldigi-4.1.00/src/fldigi"
start_loopback
sleep 1
# Kill stale stuff
pkill bridge.py
pkill pySDR.py
pkill bandmap
pkill rigctld
# Start the bridge
cd ~/Python/bridge
bridge.py &
#bridge.py >& /tmp/BRIDGE &
sleep 2
#exit
# Start SDR
cd ~/Python/pySDR
$PY_SDR -mode USB -fsout $FS -af_bw 10 -vid_bw 45 -ant B -pan -pan_bw 10 $LOOPBACK -rig HAMLIB $FOLLOW -no_rigctl -port 4732 &
sleep 1
exit
# Start FLDIGI & FLLOG
#~/fllog-1.2.5/src/fllog >& /tmp/FLLOG &
sleep 1
$FLDIGI --config-dir ~/.fldigi5 --xmlrpc-server-port 7363 >& /tmp/FLDIGI5 &
#$FLDIGI --config-dir ~/.fldigi6 --xmlrpc-server-port 7364 >& /tmp/FLDIGI6 &
exit
# This seems too slow things up too much
sleep 2
pushd ../bandmap
bandmap.py -rig HAMLIB -port 4633 >& /tmp/BANDMAP &
popd