Docs · v0.5.3
Conventional systems
Each entry in conventional is a group of single-frequency channels with its own short name,
recordings folder, call rules, unit names and plugin settings. This page lists the keys for
conventional systems and their channels, and the channel CSV format. For how detection works,
choosing a squelch and debugging, see the conventional guide; for
sharing a frequency by tone, NAC, colour code or RAN, see the tones guide.
"conventional": [
{ "shortName": "fire", "squelchDb": 8, "channels": [
{ "freqHz": 154430000, "mode": "fm", "name": "County Fire Dispatch", "talkgroup": 1001 },
{ "freqHz": 460125000, "mode": "p25", "name": "PD Tac 2", "squelchDb": 12 } ] },
{ "shortName": "police", "channelFile": "police.csv" }
]A conventional channel is one frequency that radios talk on directly or through a repeater, with no control channel. There are no recorders to assign: each channel's frequency is watched in the spectrum the sources already receive, and a call is opened when the signal there rises far enough above the measured noise floor. Channels can be analog FM, P25 Phase 1, DMR or NXDN, and can sit anywhere a source covers, including alongside a trunked system. Analog channels can be FM (narrowband or wide) or AM (airband).
Conventional system keys
| Key | Required | Default | Type | Description |
|---|---|---|---|---|
shortName |
"conv" |
string | Its identity: recordings folder, short_name in call JSON, how plugins know it. No other system, trunked or conventional, may have it |
|
name |
"" |
string | What people call it ("County Fire"), for display | |
id |
given | integer | The system's number, as a trunked system's: given when the config is read, the same through renames, never reused. Leave it to the recorder | |
fcc |
{} |
object | Optional: who is licensed on each channel's frequency (they can be different licensees'). See FCC licenses | |
enabled |
true |
bool | false keeps it without recording any of its channels |
|
squelchDb |
8 |
number | How far above the measured noise floor a signal must rise to open a channel, dB. The interface allows 3–40 | |
demod |
{} |
object | How its FM, AM and auto channels are demodulated (an auto one's analog receiver). See Demodulation | |
channels |
[] |
array | The channels. See Channel keys | |
channelFile |
"" |
string | A CSV to read the channels from instead (desktop app only). Absolute, or relative to the config file's folder. See Channel file | |
recording |
{} |
object | Its own call rules; a rule left out follows the global recording. See recording.md |
|
unitNames |
empty | object | Names for the radios heard on it. See systems.md | |
keys |
"" |
string | The encryption keys its P25 channels decrypt with, a key source's name. See systems.md | |
plugins |
{} |
object | Its plugin settings, by plugin id. See plugins.md | |
pluginDelays |
[] |
array | How long plugins wait for its calls. See plugins.md | |
signals |
[] |
array | The tone signals its channels carry (pages, DTMF, Morse IDs), as a trunked system's. See Signals |
A frequency belongs to only one conventional system.
Demodulation (demod)
Applies to every FM, AM and auto channel in the system (an auto channel's analog receiver). Each key left out is the default; an empty
demod isn't written. See the conventional guide
for when to change them.
"demod": { "fmDeemphasis": false, "amLevel": "slow", "amLowCutHz": 300, "squelchOpenMs": 30, "squelchHangMs": 150 }| Key | Default | Type | Description |
|---|---|---|---|
fmDeemphasis |
true |
bool | FM: undo the transmitter's 750 µs pre-emphasis. false for channels sent without it |
amLevel |
"fast" |
string | AM: how fast the audio level follows the carrier, "fast" (50 ms) or "slow" (0.5 s) |
amLowCutHz |
200 |
number | AM: the audio high-pass's corner (4th-order Butterworth), Hz, 0–600. 0: none |
squelchOpenMs |
30 |
number | The carrier must hold this long before audio passes, ms, 0–500 |
squelchHangMs |
2 |
number | Audio keeps passing this long after the carrier drops, ms, 0–1000. Bridges fades; the noise after a transmission is still cut |
Notes:
- System number. To plugins and in some call data, systems are numbered from 0: the trunked systems being recorded, then the conventional ones being recorded (enabled, with a channel that is), in the order the config lists them.
- Pre-roll. Conventional calls start 0.3 s before the signal was detected;
recording.prerollSapplies to trunked calls only. - Talkgroup names. A conventional call takes its row's names, if the row has any; else the conventional system's own talkgroup file's for the number it's filed under (kept in the store; Setup shows it on a conventional system with digital channels) — so a digital row with no names lets the file name each talkgroup the air sends. A conventional system doesn't borrow the names, or the settings, of a trunked system: give it its own file. The file's format is the talkgroup file's. The Radio system page names talkgroups the same way; a talkgroup filed under the air's number, on a row with names, is named once a call of it has been heard.
- Recording rules. A conventional call is recorded, ended and split by its system's rules as a
trunked call is: a talkgroup the file marks Ignore isn't recorded (its call is still shown), nor
one it doesn't list when
recordUnknownis off (a row's own name lists it); the call endscallTimeoutSafter the recorder last heard it; withconversationModeoff each transmission is a call of its own; and one longer thanmaxCallScarries on in the next, its talker with it. - Frequency error. A conventional call's
freq_erroris measured as a trunked call's is, from the decoder's offset (P25, DMR and NXDN: analog receivers don't measure one). - Channel width. A conventional DMR channel is opened 6.25 kHz wide, as a trunked one is.
Channel keys
| Key | Required | Default | Type | Description |
|---|---|---|---|---|
freqHz |
✓ | number | The frequency, Hz. 0 (or left out): a stream's row (A stream's rows) |
|
mode |
"fm" |
string | "fm" (analog FM), "am" (analog AM, airband), "p25" (P25 Phase 1, C4FM or CQPSK), "dmr" (both slots), "nxdn48" or "nxdn96", "auto" (whichever turns up: analog FM, P25, DMR or NXDN; see Auto) (any case; anything else is refused when the config is read) |
|
name |
"" |
string | Alpha tag, written to the call JSON | |
description |
"" |
string | Description in the call JSON | |
tag |
"" |
string | Tag in the call JSON | |
group |
"" |
string | Category in the call JSON | |
talkgroup |
see below | integer | The number its calls are filed under (Setup: TG Number) | |
code |
"" (any) |
string | Record only transmissions carrying this code: a tone, NAC, colour code or RAN. See Codes, slots and talkgroups | |
slot |
any | integer | dmr: record only this slot, 1 or 2 |
|
matchTalkgroup |
any | integer | p25, dmr, nxdn48, nxdn96: record only transmissions naming this talkgroup (Setup: Match TG) |
|
squelchDb |
the system's | number | This channel's own squelch, dB above the noise floor | |
bandwidthKhz |
the mode's | number | fm, am and auto (its analog receiver's): the channel filter's width, kHz, 4–20. FM: 11 (12.5 kHz channels), 16 for wide FM (25 kHz). AM: 11 below 225 MHz, 16 from 225 MHz (UHF military air); 6 for 8.33 kHz channels. Rows sharing a frequency need the same |
|
enabled |
true |
bool | false keeps the row without recording it |
|
receiveOn |
[] |
array | The sources it may be received on, by label ("RTL-SDR SN 200", as the dashboard names a source: the radio, wherever it is in sources). Empty: any source that reaches it. Rows sharing a frequency need the same ones. Not set by a linked channel file. A label that isn't one of the sources' leaves it out of a run (the rest records; the log and the dashboard say why, naming the sources there are). A source's label edited in Setup (its serial, address or args) is followed here. See How channels are shared out |
|
autoTune |
false |
bool | p25, dmr, nxdn: its calls' carrier offsets correct its source's AutoTune (a repeater output to trust; see Frequency correction) |
|
stereo |
"mix" |
string | A stream's row: "left" or "right" records that side of a stereo stream (some carry a channel on each), "mix" both mixed. Rows on one side of one stream share it, as rows share a frequency |
Talkgroup numbers
A call is filed under:
- the row's
talkgroup, if it gives one; - else the talkgroup the air named (
p25,dmr,nxdn48,nxdn96), if it did; - else the frequency in kHz (154.430 MHz →
154430). A further row on the same frequency gets that with a digit added:1543251,1543252… (counted among all rows on the frequency, enabled or not, so switching one off renumbers nothing).
| Mode | An empty talkgroup files under |
|---|---|
fm, am |
the frequency default |
p25, dmr, nxdn48, nxdn96 |
the air's talkgroup; the frequency default when a transmission names none |
A digital call's record keeps the talkgroup the air named as talkgroup_ota, also when a row files it
under another number, and even when it equals talkgroup; it is absent for FM and AM, and for calls
whose air named none. That lets several P25 channels whose radios all send TG 1 — the common case —
each file under a number of its own, and keep the 1:
{ "freqHz": 460125000, "mode": "p25", "talkgroup": 46012, "name": "Townville PD" },
{ "freqHz": 460175000, "mode": "p25", "talkgroup": 46017, "name": "Townville FD" }A new talkgroup on the air is a new call, also when a row files both under one number. The names are the row's, if it has any; else the conventional system's talkgroup file's for the number filed under.
Codes, slots and talkgroups
code, slot and matchTalkgroup pick a row's transmissions out of everything on its frequency;
a row records the transmissions that fit all it gives. Several rows on one frequency split it among
users: the most specific row that fits takes a transmission, and a row with none of them (at most
one) takes the rest. A transmission no row takes isn't recorded (Setup lists it under the
frequency, with an Add button).
| Mode | code (bare) |
What it matches | slot |
matchTalkgroup |
|---|---|---|---|---|
fm |
151.4, D023N |
A CTCSS tone (67.0–254.1 Hz, standard tones only) or DCS code | — | — |
p25 |
293 |
The NAC, in hex (up to 3 digits) | — | 1–65535 |
dmr |
1 |
Colour code 0–15 | 1, 2 | 1–16777215 |
nxdn48, nxdn96 |
5 |
RAN 0–63 | — | 1–65535 |
am |
(none) | AM carries no code: all three must be empty, and a frequency has one row | — | — |
auto |
(none) | Auto carries no code: all three must be empty, and a frequency has one row | — | — |
Every spelling a code takes (151.4 PL, 023 DPL, NAC 293, CC 1, RAN 5…), and which
values mean any, are in Typing a code. A code that names the
slot and talkgroup too (RadioReference's CC1 TS2 TG201) is read as the three, if it agrees with
slot and matchTalkgroup. Example: one P25 frequency, TG 1 and TG 2 filed apart, the rest as the
air names them:
{ "freqHz": 453500000, "mode": "p25", "code": "293", "matchTalkgroup": 1, "talkgroup": 45351, "name": "Townville PW" },
{ "freqHz": 453500000, "mode": "p25", "code": "293", "matchTalkgroup": 2, "talkgroup": 45353, "name": "Townville Parks" },
{ "freqHz": 453500000, "mode": "p25", "code": "293", "name": "Townville (other)" }Rules for rows sharing a frequency:
- They must all have the same
mode. - At most one may have no code, slot or talkgroup.
- No two may record the same transmissions (
D023NandD047Iare the same DCS signal). - The channel opens at the lowest
squelchDbamong them.
Recording won't start while any of these is broken; the message names the frequency.
A stream's rows
A row with no frequency is a stream's: received on a "stream" source (receiveOn
names it; left empty, the first stream), its audio standing in for a frequency's. Everything else is a
row's as usual: its system's call timeout, longest call, pre-roll, plugins, signals and names, and its
squelchDb, here dB above the stream's quiet floor (its level between calls, learned from the last few
seconds, so a quiet feed and one with a hum under it both open on voice). A pause between words is kept
in the call (half a second; the squelch's hang if that's longer); the quiet after the last word isn't.
- Its
modeis"fm"(the default) or"am": the audio is demodulated already. An FM row hears the tones and unit IDs in it as on the air, so rows on one stream can be told apart by their CTCSS tone or DCS code (code) when the feed keeps it under the voice. - It needs a
talkgroup: there's no frequency to file its calls under. - Its calls' frequency is 0; the dashboard lists them as "stream".
"sources": [ { "type": "stream", "url": "https://feeds.example.com/12345" } ],
"conventional": [ { "shortName": "county", "channels": [
{ "mode": "fm", "talkgroup": 9001, "name": "County Fire Dispatch", "stereo": "left", "receiveOn": ["stream feeds.example.com/12345"] },
{ "mode": "fm", "talkgroup": 9002, "name": "County EMS", "stereo": "right", "receiveOn": ["stream feeds.example.com/12345"] } ] } ]In a channel file, a row with no frequency is a stream's when the file has a Stereo column (written
when one of its rows is a stream's).
Channel file (channelFile)
Instead of listing channels in the config, a conventional system can read them from a CSV file you edit in a spreadsheet. In Setup, type a name under Channel file and press Use this file: if the file doesn't exist, it's created from the current list. While a file is linked:
- its channels are the file's, and aren't saved in the config (
channelsis written as[]); - it's re-read when the app starts, whenever settings are saved, at every Start, and on Reload;
- a file that can't be read keeps the last good list, and Setup shows why under the file name; at Start, it stops recording from starting, with the file's problem as the message;
- Unlink stops reading it and keeps its channels in the config.
Channel files are a desktop feature; the browser version has no file to link. In Setup, Import CSV… reads the same format into the list (it asks to replace the channels or add to them; it isn't shown while a channel file is linked) and Export CSV writes it.
CSV format
TG Number,Frequency,Code,Slot,Match TG,Mode,Alpha Tag,Description,Tag,Category,Squelch dB,Bandwidth kHz,Enable,AutoTune
1001,154.4300,,,,fm,County Fire Dispatch,,Fire Dispatch,Fire,,,true
,154.3250,D223N,,,fm,County A Fire,,,Fire,,,true
,154.3250,151.4,,,fm,County B Fire,,,Fire,,,true
,460.1250,,,,p25,PD Tac 2,,Law Tac,Police,12,,true
45351,453.5000,293,,1,p25,Townville PW,,Public Works,Public Works,,,true
9001,451.5000,1,1,1,dmr,Dispatch,,Business,Business,,,true
,119.1000,,,,am,Tower,,Aircraft,Airport,,,trueA header row is required. Columns are matched in any case and any order; others are ignored.
| Column | Also accepted | Meaning |
|---|---|---|
Frequency ✓ |
Freq, FreqHz |
MHz when it has a decimal point (154.4300), otherwise Hz (154430000) |
Mode |
fm, am, p25, dmr, nxdn48 (or nxdn), nxdn96, auto (or any); also nfm, analog, A (= fm), digital, D (= p25). Empty = fm, or p25 / dmr / nxdn48 when Code holds a NAC / colour code / RAN |
|
TG Number |
Talkgroup, TG |
A positive whole number; empty = as above |
Code |
Tone |
As code above. RadioReference's spellings (151.4 PL, 023 DPL, 293 NAC, CC1 TS2 TG201, RAN 5) work; a slot or talkgroup in it fills Slot / Match TG |
Slot |
TS |
As slot above |
Match TG |
MatchTalkgroup |
As matchTalkgroup above |
Alpha Tag |
Name |
The channel's name |
Description, Tag |
Names in the call JSON | |
Category |
Group |
Category in the call JSON |
Squelch dB |
SquelchDb |
3–40, dB above the noise floor; empty = the system's |
Bandwidth kHz |
BandwidthKhz, Bandwidth |
fm, am and auto rows: the filter's width, 4–20; empty = the mode's |
Enable |
Enabled |
false, no, 0 or off = off; anything else or empty = on |
AutoTune |
Auto Tune |
true, yes, 1 or on = its calls correct the source (digital rows); empty = off |
Stereo |
A stream's row: left, right, or empty (both mixed). Written only when a row is a stream's; in a file with it, an empty Frequency is a stream's row |
Parsing:
- Commas, semicolons or tabs (guessed from the header row). With semicolons or tabs, decimal commas
(
154,43) are read as decimal points, as Excel writes them in some locales. - Fields can be quoted. Blank lines,
#comments and a byte-order mark are skipped. - A row with no usable frequency is skipped. A bad
Mode,TG Number,Squelch dB,Bandwidth kHz,Code,SlotorMatch TGis read as the default. Setup lists each such row after reading the file. - A file with a
Tonecolumn and noCode(Trunk Recorder's) has itsToneread asCode, and P25 rows sharing a frequency with noTG Numberare each given their own number. - Trunk Recorder's channel file reads as is. Its
Squelchcolumn (an absolute level) is not read: useSquelch dB. AToneofS(search) needs no setting here, since every analog call's tone is identified and written to its JSON anyway.