Skip to content

sdroxide 1.7.3 ELAD test build (wide spans, MIC A / DIG A)

Pre-release
Pre-release

Choose a tag to compare

@AJ3G AJ3G released this 13 Nov 23:43

I've added two buttons to the front panel. They show only when an ELAD FDM-DUO is selected with CAT on a serial port:

MIC A, right of REC on the VOL/SQL bar. When it's lit, I hear an over keyed at the radio itself: its microphone PTT, a foot switch, or another program. When it's off (the default), the speakers mute for that over. sdroxide learns the radio is transmitting by asking it over CAT (IF;, the TS-480 status read the DUO keeps from Kenwood's set). The engine already had this muting (ControlUpdate::RigTx); the ELAD driver just never asked the question.
DIG A, centred under the 3W and 5W power buttons, below their ELAD FDM-DUO TX PWR caption. When it's lit, I hear an over sdroxide keyed: the digital modes, TUNE and PTT. When it's off (the default), receive pauses for the over, as before.
Both take effect at once, without reopening the radio. They're also in Settings → Radio under "Your own signal".

How I found it
While testing my wide-span PR (dividebysandwich#857) on my FDM-DUO, I keyed the radio from its own microphone PTT in USB to check transmit. My voice came straight back out of my PC speakers, and my signal showed on the waterfall. Closing sdroxide made it stop, so it wasn't Windows or the radio's own monitor. Every over I had made with sdroxide before was FT8, which sdroxide keys itself and pauses receive for. That's why I had never heard it.

The cause is that the ELAD CAT profile asked for no transmit state (Protocol::tx_state_requests was empty), so an over keyed at the radio was invisible to sdroxide. The receiver kept running and played my own signal. It isn't specific to the wide spans: it happens at 192 kHz too.

Hearing your own signal can also be useful, in voice and in the digital modes, so I made both a choice rather than just muting. I put them on the front panel so they can be reached during an over.

Notes
The CAT link always asks the DUO whether it is transmitting, and the engine decides live whether to mute. This also handles a DUO with auto-information on, which reports its overs unasked.
While testing, I noticed a clear lag between pressing the mic PTT and the speakers muting. The transmit read had been riding along with the meter poll, which is every 500 ms at the default rate, so up to half a second of my voice could come through first. The ELAD now asks every 150 ms on a beat of its own (Protocol::tx_state_period, which only the ELAD sets), so the mute lands within about a syllable. The IF; reply is 38 bytes, a small share of even a 9600-baud link.
With DIG A on, the receiver hears my own transmission, so the FT8/FT4 decoder decodes my own messages and CQs and lists them with everyone else's. That's expected, and it's one more reason DIG A is off by default.
DIG A is read at each key-down, so changing it mid-over applies from the next over. For an ELAD, full_duplex only means "keep reading": the DDC streams through every over regardless.
The IF; reply is parsed with the existing Kenwood positional parser, which checks the exact length first. A DUO that answered in a different layout would simply never report an over, rather than appear stuck on the air.
Power in SSB
While testing I checked how power is set when I key from the radio's own mic, since none of sdroxide's sliders are in that path. The TX PWR buttons from my earlier PR set the DUO's menu 34 TX POWER, the radio's own ceiling, so they apply in every mode, SSB included. How the power is set within that ceiling depends on where the audio comes from:

Keying at the radio with its hand mic: the button sets the ceiling, and the radio's mic gain sets how much of it is used. sdroxide's Drive slider has no effect, because it only scales audio sdroxide sends over USB.
sdroxide keying (digital modes, TUNE, PTT): the button sets the ceiling, and Drive or the TUNE % sets the power within it.
Nothing in this PR changes that. I've noted it because MIC A is about overs keyed at the radio, where the TX PWR buttons are the power control.

Tested
On Windows 11 with my FDM-DUO, using this branch built on the current main (1.7.3):

MIC A: a mic-PTT over is muted with the button off and heard with it lit, switching live. The mute now lands quickly after keying.
DIG A off: FT8 and TUNE overs are silent, as before.
DIG A on: I hear my own FT8 tones and the TUNE carrier, and my own messages and CQs show in the decoder.
Flipping DIG A between overs takes effect from the next over, with no restart.
The layout is as described, with the Tune slider the same length as Drive.
The wide spans still load (192 kHz to 768 kHz and back), and FT8 decodes with DIG A on and off.