forked from charlie-foxtrot/RTLSDR-Airband
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtwo_dongles_multiple_outputs.conf
121 lines (120 loc) · 2.71 KB
/
two_dongles_multiple_outputs.conf
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# Example configuration file for 2 dongles.
# First dongle - scanning mode, NFM modulation, three frequencies,
# output to Icecast stream, to a file and to PulseAudio server
# on a local network.
# Second dongle - multichannel mode, three channels:
#
# - channel 1: AM, goes to Icecast stream
# - channel 2: AM, goes to two Icecast streams
# - channel 3: NFM, goes to two files
#
# Dongles are specified with their serial numbers instead of
# indexes, because the latter can change when devices are
# reconnected into different USB ports.
#
# Refer to https://github.com/charlie-foxtrot/RTLSDR-Airband/wiki
# for description of keywords and config syntax.
devices:
({
type = "rtlsdr";
serial = "777755221";
gain = 25;
correction = 80;
mode = "scan";
channels:
(
{
modulation = "nfm";
freqs = ( 152.1, 168.25, 168.375 );
outputs: (
{
type = "icecast";
server = "icecast.server.example.org";
port = 8080;
mountpoint = "utility.mp3";
name = "Utility channels";
username = "source";
password = "mypassword";
},
{
type = "file";
directory = "/home/pi/recordings";
filename_template = "utility";
},
{
type = "pulse";
server = "192.168.11.10";
stream_name = "Utility channels";
continuous = false;
}
);
}
);
},
{
type = "rtlsdr";
serial = "33433123";
gain = 20;
centerfreq = 118.5;
correction = 43;
mode = "multichannel";
channels:
(
{
freq = 118.15;
outputs: (
{
type = "icecast";
server = "icecast.server.example.org";
port = 8080;
mountpoint = "TWR.mp3";
name = "Tower";
genre = "ATC";
username = "source";
password = "mypassword";
}
);
},
{
freq = 119.425;
outputs: (
{
type = "icecast";
server = "icecast.server.example.org";
port = 8080;
mountpoint = "ACC.mp3";
name = "Radar";
genre = "ATC";
username = "source";
password = "mypassword";
},
{
type = "icecast";
server = "other.server.example.org";
port = 9999;
mountpoint = "feed.mp3";
username = "user";
password = "secretpass";
}
);
},
{
freq = 119.6;
modulation = "nfm";
outputs: (
{
type = "file";
directory = "/home/pi/recordings";
filename_template = "somechannel";
},
{
type = "file";
directory = "/home/pi/recordings";
filename_template = "somechannel_full";
continuous = true;
}
);
}
);
}
);