Set not1mm's sound card in radio configure

not1mm's voice keyer gets the radio's sound card, named exactly as the
sounddevice library in not1mm's own Python lists it: its settings dialog
finds the device by exact name, and falls back to the first one listed.
PipeWire's name for the card, through PortAudio's JACK support, comes
first, since it stays the same from boot to boot. Without it, or with two
cards of the same name, it's ALSA's, which has the card's number in it;
a number radio wrote before is updated when the card's number changes.

The closing message now leaves only fldigi and POTACAT for you to set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Young
2026-11-28 13:11:16 -07:00
co-authored by Claude Opus 5.5
parent 4053664d77
commit c2cb2bc2f4
5 changed files with 168 additions and 43 deletions
+7 -6
View File
@@ -18,12 +18,13 @@ control a radio.
- [ ] `radio configure`, the rest. It writes the rigctld user service and
points WSJT-X, JS8Call, Pat, fldigi, Dire Wolf, not1mm, QLog, POTACAT
and Graywolf at it. Still to do:
- [ ] Sound cards for fldigi, not1mm and POTACAT. fldigi (PortAudio) and
not1mm (sounddevice) name a card with its number, as in
"USB Audio CODEC: - (hw:1,0)", which can change between boots; a
sounddevice name can match part of a name, so not1mm might take
"USB Audio CODEC". POTACAT keeps browser device ids, which only it
can see. WSJT-X, JS8Call, Dire Wolf and Graywolf are done
- [ ] Sound cards for fldigi and POTACAT. fldigi (PortAudio) names a card
with its number, as in "USB Audio Device: - (hw:3,0)", which can
change between boots. PortAudio also lists PipeWire's devices through
JACK under stable names, as not1mm now uses; check whether fldigi's
PortAudio list includes them. POTACAT keeps browser device ids, which
only it can see. WSJT-X, JS8Call, Dire Wolf, Graywolf and not1mm are
done
- [ ] flrig can't use rigctld, so it can't run alongside it. Say so, or
offer flrig as the controller instead
- [ ] More than one radio at once: a rigctld for each, on its own port