Phil Karn
unread,Feb 10, 2025, 5:01:55 PM2/10/25Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ka9q-...@googlegroups.com
The ka9q-radio package includes several commands and daemons that
haven't been maintained, may not work right with current versions of
radiod, and/or are superfluous because of added functionality in radiod.
I've removed them from the target lists DAEMONS and EXECS in the
Makefiles, but I'll leave the source files for a while so you can still
build one by saying "make command".
These are:
Daemons: opusd stereod rdsd.
radiod can now natively generate an opus stream and demodulate FM
stereo. Rdsd isn't complete and hasn't been maintained; I might return
to it some day.
Execs (commands): opussend pcmcat pcmsend setfilt pcmspawn show-pkt show-sig
I wrote opussend and pcmsend as quick tests a long time ago and haven't
kept them up to date. They don't generate the 500 ms status messages on
the output stream that radiod now generates and which pcmrecord and
monitor now rely on.
The functionality of 'setfilt' has been part of 'tune' for some time.
I can't even remember why I wrote show-pkt and show-sig; their
functionality is included in 'control'.
As far as I know, the only one people are actually using is 'pcmcat'. It
is way out of date as it still uses a hard-coded table mapping RTP
payload type values to specific combinations of sample encoding, sample
rate and channel count. The functionality of 'pcmcat' and 'pcmspawn'
have been merged into the new 'pcmrecord', which uses radiod's status
stream to determine sample format. Use the --stdout and --exec options,
respectively, to 'pcmrecord'.
The new 'pcmrecord' also supports Opus, which it converts into Ogg Opus
streams. When possible, it also passes other channel metadata to the
output file or passes it to a command with the --exec option.
I'd especially like to encourage people to consider 'pcmrecord --exec'.
Because it makes metadata such as the channel frequency and sample rate
available to the executed command, it can vastly simplify configuration.
You no longer need to maintain a long ad-hoc list of ssrcs and configure
them into both radiod and a list of pcmcat commands. Just add the
frequency to your radiod config file, and 'pcmrecord --exec' will launch
a separate copy of your application for each channel and pass it the
radio frequency, and other parameters for sample rate, format, etc.
Phil