Using Thetis with FreeDV

Post Reply
JoeG
Posts: 2
Joined: Wed Oct 25, 2023 8:47 am

Using Thetis with FreeDV

Post by JoeG »

Hi All,

The latest version of FreeDV has a new digital voice vocoder (RADEV1) which is now rivalling SSB for weak signal performance (-2 dB) providing virtually noise-free, 8 kHz audio bandwidth in a 1.65 kHz RF channel (using 33 x 50 Hz carriers).

By all accounts this digital HF setup works well on conventional transceivers with a sound-card (including IC-7300 SDR types with internal sound-cards etc) but it is reported, and I can confirm, that it does not work well using various SDRs together with Thetis, as follows:

Transmitting the FreeDV waveform using Thetis works fine and is well received by everyone, but receiving presents frequent SNR dropouts and bad decodes (sounding like gibberish) even on strong received signals. This is particularly prevalent during periods of fast, frequency-selective, ionospheric fading, probably caused by multipath propagation. Others, however, do not experience this problem during the same band conditions and signal strength. Then, at other times, the reception using Thetis is perfect.

My setup is: Apache Labs ANAN 200D - Ethernet cable - Intel i7 NUC PC - Windows 11 - Thetis 2.10.3.11 - VB Audio Cable using MME - FreeDV. The PC is running at 10% CPU. There are no VAC overflows or underflows. This setup works fine with WSJT-X and FLDIGI.

I have tried: Adjusting RX audio levels displayed on freeDV (low, mid, high) using Thetis AF and AGC gain controls. Adjusting: Thetis RX filter bandwidth; noise reduction settings; fast, slow and long AGC; 0 to 50 dB attenuation; Network Throttle Tweak, ANAN 200D Dither and Random options enabled/disabled; Filter low latency/linear phase; one and two VB cables; various VB cable gains, data rates, buffer sizes and mono/stereo select; all to no avail.

It appears that the main difference between the reported working and non-working systems is the use of Ethernet, Thetis and VAC. As general usage of this new digital mode is hotting up, I expect this may become a more significant problem. Can anyone provide an explanation, work-around or solution?

73, Joe VK3SRC
User avatar
w-u-2-o
Posts: 6048
Joined: Fri Mar 10, 2017 1:47 pm

Re: Using Thetis with FreeDV

Post by w-u-2-o »

JoeG wrote: Fri Sep 05, 2025 2:01 am It appears that the main difference between the reported working and non-working systems is the use of Ethernet, Thetis and VAC.
Not at all. It's probably a Thetis set-up issue, and a subtle one at that.

Unfortunately I can't test this right now, as my station is in some disarray. However, I'm going to guess that it might have something to do with the filter type settings in Thetis > Setup > DSP > Options.

What filter type do you have set for Digital modes right now (this is automatically selected when using DIGL or DIGU)? Is it Low Latency? If so, try changing that to Linear, and set the filter size to 1024.

The reason I suspect this setting is the issue is because the low latency filter type has a less well-behaved impulse response than the linear filter type. This can have negative impacts on certain waveforms. For instance, when receiving analog fax transmissions, the low latency filter will cause ghost images ("echoes") in the received fax. Certain CW operators can hear ringing in the dits and dahs. So perhaps this might be an issue for FreeDV reception, as well.
JoeG
Posts: 2
Joined: Wed Oct 25, 2023 8:47 am

Re: Using Thetis with FreeDV

Post by JoeG »

Hi Scott,

Thanks for the prompt response and an excellent solution!
w-u-2-o wrote: Fri Sep 05, 2025 12:30 pm What filter type do you have set for Digital modes right now (this is automatically selected when using DIGL or DIGU)? Is it Low Latency? If so, try changing that to Linear, and set the filter size to 1024.
I have set Filter Type to Linear Phase, but I did not try setting the Buffer Size to 1024. I have now set Buffer Size to 1024, as you suggested, and FreeDV appears to decode with out excessive errors! I will distribute your solution to others I know who are having the same problem and continue testing.

Thanks again,
73, Joe VK3SRC
User avatar
w-u-2-o
Posts: 6048
Joined: Fri Mar 10, 2017 1:47 pm

Re: Using Thetis with FreeDV

Post by w-u-2-o »

That's interesting. Very steep ("brick wall") filter edges, even with the linear filter type selected, will provide a less ideal impulse response than less steep edges. However, the linear filter type is extremely well behaved in this respect. Nevertheless, it would seem that, empirically, going any steeper than 1024 does not work well for FreeDV.

It's worth nothing that, even at the minimum setting of 1024, the edges of the filter passband are much steeper than probably any other radio out there with the possible exception of Flex radios. In the old days some of us used to get a little crazy and run filter sizes of 4096, just because we could. But I can think of no case when it is truly necessary to run anything other than 1024 for any HF mode or waveform.
WA1NVC
Posts: 4
Joined: Thu Oct 15, 2020 2:48 pm

Re: Using Thetis with FreeDV

Post by WA1NVC »

I need some basic help on making FreeDV work on my ANAN running the latest Thetis.

I have a mic and speakers plugged into the front panel of my ANAN 7000 DLE MKII.

I have the latest FreeDV software installed on the same PC as Thetis.

How do I make this work?

How does the audio from my mic reach FreeDV and how does the audio from FreeDV get to my speakers?

Likewise how does FreeDV talk to my ANAN?

ANAN->Thetis->FreeDV->Speakers

Mic->FreeDV->Thetis->ANAN

Roger
WA1NVC
User avatar
w-u-2-o
Posts: 6048
Joined: Fri Mar 10, 2017 1:47 pm

Re: Using Thetis with FreeDV

Post by w-u-2-o »

I don't currently have FreeDV installed. However, if I remember correctly, in FreeDV there are four, separate audio device assignments that must be made:

1. Mic input
2. Speaker output
3. Radio input
4. Radio output

There is no way for FreeDV or any other software on your PC to access the mic and speakers/headphones that are attached to the 7000. The 7000 hardware provides a custom, dedicated sound interface that is usable only by Thetis or piHPSDR.

Therefore you will have to provision a separate mic and separate speakers directly attached to your PC for FreeDV to use. Any cheap USB microphone and any cheap USB speakers will work fine. I'd not recommend investing in anything expensive until you get it all working. Probably the easiest way is to obtain a USB headset that has both mic and speakers. They can be found for less than $10.

To make the connection between the radio and FreeDV you must make a "virtual" (digital) audio connection between Thetis and FreeDV. This is done by using the "VAC" interface in Thetis and a third bit of software to make the connection between Thetis and FreeDV.

I couldn't find a ready-made video or tutorial for FreeDV specifically, but the steps required to make the virtual audio and PTT connections between Thetis and FreeDV are essentially the same as for any other digital mode software, such as WSJT-X. Here is a link to video tutorial for Thetis and WSJT-X. Just follow it as a general guide to how to connect any digital mode software, and you can ignore the content associated with the logging software.

Post Reply

Return to “Thetis”