This month was fairly busy in terms of FreeDV. Besides going to Pacificon and Zero Retries Digital Conference, a lot of work was done in terms of bugfixes and testing which ultimately resulted in a 2.4.1 bugfix release going out at the end of the month. Many of these bugfixes were part of an effort to improve automated testing in the upcoming FreeDV 3.0 release, much of that directed by Claude. In the process of writing tests, it discovered many bugs that would likely have taken quite a while to discover manually if at all.
In addition, because of this automated test effort, we now have automated unit and GUI tests. The latter in particular exercise as much of the user interface as possible thanks to a Python library and a TCP/IP link to the FreeDV application that it controls. This lets us have code coverage exceeding 90%, along with a way to make sure future changes do not break anything existing.
For RADE V2, some improvements with callsign decode were made that take advantage of the fact that the same callsign is repeatedly transmitted. This allows the callsign to be decoded far more often and at lower SNRs, meaning that your transmission is far more likely to be reported by others to FreeDV Reporter and elsewhere.
Finally, after 2.4.1 released, I began (with Claude’s help) to implement a small machine learning model that takes 8 kHz audio (most commonly with Bluetooth headsets that don’t fully support the mSBC codec) and effectively “fills in” the missing features for the RADE encoder. This allows the receiver to hear a transmission that has some of the higher audio frequencies added back in, improving clarity in this (admittedly limited) scenario. Some audio samples below:
Original audio:
Audio after RADE encode/decode:
Audio after downsampling to 8 kHz, going through new model and passing through RADE encode/decode:
Some adversarial training was also suggested and performed by Claude, which improved the results further. Examples from before and after such training:
This is currently split into two pull requests: freedv-backend for the actual ML model and freedv-gui to enable it when the mic device’s sample rate is low enough.
More information can be found in the commit history below:
FreeDV 2.4.1 has been released, including audio and rig-control related fixes for bugs found since 2.4.0. Some of these fixes are to resolve random crashes that could result during normal operation when FreeDV attempts to perform multiple simultaneous operations (such as when simultaneously receiving and transmitting data from the FreeDV Reporter server). This release also contains improvements to user interface rendering performance, allowing FreeDV to more easily run on certain older machines. It can be downloaded using the following links:
This month I collated the results from the latest RADE V2 Beta Test Campaign, which tested real time use of RADE V2 in over the air PTT conversations. The campaign ran for about three weeks.
Testers used RADE V2 for real conversations, with the aim of confirming it acquires, syncs and decodes reliably in everyday use. Five testers reported a pass and no failures were reported, across contacts with many other stations. Rick W7YC reported fast PTT turnaround thanks to V2’s 40 ms latency, quicker than RADE V1, including rapid back and forth exchanges.
One issue was found: if a station is tuned off by more than about 32 Hz, V2 can lock on with the wrong frequency offset and produce garbled speech. That’s a corner case, and the fix is in the classical DSP, so it won’t affect compatibility with the V2 waveform.
As a bonus, Rick measured the occupied bandwidth of V2 on his spectrum analyser at 857 Hz, a close match to the 867 Hz we predicted in simulation, and less than half that of RADE V1.
RADE V2 Spectrum captured by Rick W7YC – 99% of the power is contained in just 857 Hz
Apart from the tuning corner case, we conclude RADE V2 is working well for real world PTT conversations. Thank you to all the Hams that participated and special thanks to Rick W7YC, Yuichi JH0VEQ and Taku Kudo JK1GPC for their samples.
RADE V2 Improvements
Ashhar Farhan VU2ESE suggested adding an “Integral” term to the timing tracking loop in RADE V2, to help track out timing issues with large clock offsets. This is a good idea, so I spent some time adding the integral term to the reference Python and C versions of RADE V2. I had to move very carefully as we are just through the beta tests and I don’t want to break anything.
The benefit is improved performance and more robustness to clock offsets between the Tx and Rx. Previously, V2 could only handle +/- 25 ppm, now we have good performance at +/- 125 ppm, and can still sync and decode (with some reduction in performance) at +/- 250 ppm. By measuring the clock offsets from our stored, off air samples from the Phase C and D tests, I established this covers all radios tested.
Improvements to Timing loop: Old loop: error grows as the clocks drift apart. New loop: learns the clock rate, pulls the error back to zero.
I also performed some R&D on the “underwater” artifact I hear is some decoded RADE V1 and V2: a modulation of the decoded voice at several 10s of Hz. This is roughly the frame rate, or OFDM symbol rate. My first theory was compression of the RADE signal by the SSB PA, however simulating up to 100% clipping did not induce the problem. I did however discover that V2 passes through a non-linear PA (100% clipping) reasonably well. Voice over OFDM working through a non-linear PA is quite surprising! I investigated several other sources for the underwater artifact but haven’t resolved it yet. It does appear to be speaker dependent – I hear it on some samples and not others. It’s not strongly correlated with the current loss function we use for training. It’s also possible this is me being picky or an issue with my test sample files – many people compliment the decoded speech quality of RADE.
To address the Beta test corner case noted above, I have been looking into better handling of frequency offsets greater than 32 Hz, which we discovered in the PTT beta tests above. We have a prototype algorithm that can trap frequency offsets outside that range, and give the operator an indication (up or down) where they should tune. I’m also looking into algorithms that can obtain sync at a wider frequency offset range, but this is somewhat more difficult at the low SNRs we operate.
I hope to have the new timing loop and frequency offset fix tested and available in the rade_c repo for Beta testing in mid November.
Retraining RADE V2 and Explaining How V2 Works
As a final step before before official release of RADE V2, I’ve started a campaign to retrain the RADE V2 Neural network, revisiting some of the design work from last year. I’m trying to repeat the training with different random seeds, more epochs, and sweeping varying various hyper parameters like the number of carriers, loss function, and network dimensions. The result of this may be a new network (breaking comparability the Beta RADE V2 waveform), or if no significant gains can be made – a decision to stick with the current network.
As a side effect – the training campaign is teaching us how RADE V2 works, for example we have found evidence of pilot carriers (common in human-designed waveforms for multi-path channels).
The V2 spectrum is tapered, with some low level carriers at either side. This is uncommon for OFDM, usually all carriers are the same magnitude leading to a “flat top” spectrum. We have some evidence that the low level carriers at either edge are used for “tone assignment style” PAPR control. The encoder doesn’t send any speech information over them. Instead, their phase and magnitude is adjusted to reduce the peak level of the waveform, lowering PAPR, and leading to a higher RMS power from a typical SSB transmitter. Tone assignment is a well known technique from classical DSP, what is remarkable is that it has emerged from the training by adding a single loss function term to encourage low PAPR.
Taking a break from FreeDV
From January 2027 I’ll be taking a break from FreeDV development. I’ve put 15 years into this project and am pleased with what we have achieved, but now it’s time for a pause, and perhaps something new. The last four years, during which we have been generously funded by our ARDC grant, have been very busy. We have achieved a lot, in particular RADE, which grew out of a collaboration with Jean-Marc Valin.
To start with, I have quite a lot of travel planned in 2027. I’ll continue to maintain the Codec 2 and Python RADE repositories as time permits, and then see which technical projects interest me later in the year.
Thank you to the ARDC, the FreeDV Project Leadership Team and the Software Freedom Conservancy for your support of FreeDV, and to the many Hams around the world who have supported us. It has made a real difference to what we’ve been able to achieve.
This weekend Mooneer K6AQ attended both Pacificon and the Zero Retries Digital Conference in San Ramon, CA, where he gave two talks about FreeDV (one more technical than the other). The Pacificon talk’s slides can be found here (ZRDC’s can be found in their Proceedings or here).
As ZRDC was on the first day of Pacificon, the FreeDV booth couldn’t be set up until Saturday. Fortunately, this was able to be done before the vendor hall officially opened to the public:
During the rest of the weekend, Mooneer met with many FreeDV supporters and gave a well-received talk near the end of the weekend. That talk was also the first time RADEV2 was introduced (outside of blog posts on this website), which was received positively.
FreeDV will once again have a booth over at Pacificon in San Ramon, CA (in the Contra Costa Room) on October 16-18, 2026. Mooneer K6AQ will be there (as well as give talks at the Zero Retries Digital Conference and Pacificon itself), so come by and chat about FreeDV! More information at https://www.pacificon.org/ and https://www.zeroretries.org/p/conference.
NEW FOR 2026: The Pacificon special event station (W1AW/6) will have FreeDV installed on their 15 meter station. If you’ve ever wanted to make QSOs as (or with) W1AW using FreeDV, now’s your chance. FreeDV will be active at 2pm on Friday and Saturday of that weekend, and there may be at least one more time slot (TBD). Hope to hear you on the air!
This past month, I was finally able to verify the official reference FreeDV application (“freedv-gui”) with RADEV2. With this, we’re now able to begin testing of RADEV2 with volunteers running this version of the software. So far, there have been mainly minor issues with the application itself and not the performance of RADEV2, which is encouraging. However, it’s still fairly early in the testing process, so there is still time for issues to come up.
Additionally, with the help of Claude, I’ve been able to finally do some optimization of the FreeDV application that I haven’t had time to do perviously. For example, it was able to attain an over 50% improvement in CPU usage on macOS in rendering the various GUI plots and other UI elements. Smaller improvements were also made for Windows and Linux (when using Wayland directly instead of Xwayland).
As another example of what AI is able to do, I also pointed it at FreeDV’s audio pipeline and it was able to find some additional optimization opportunities there. For instance, libsamplerate (which is what we use for audio resampling) has traditionally used as much or even more CPU than RADE itself for transmit. Claude simply analyzed the code, suggested some fixes, ran benchmarks to confirm and as a result, libsamplerate no longer shows up as using significant CPU usage.
Next month we’ll be at Pacificon talking about the new things going on with FreeDV as well as continuing testing of RADEV2.
More information can be found in the commit history below:
This month I spent some time carefully performing over the cable (OTC) and over the air (OTA) tests using the latest C version of RADE V2. These tests involved the use of real SSB radios and built confidence that RADE V2 is working over real radio hardware and channels. To ensure these tests were decoupled from any application bugs I used the radae/ota_test.sh test script which employs command line sample play/record utilities. The OTC test results are written up in a verification test report.
One key take away is that with a verified application and careful SSB radio set up – there is very little distortion when the RADE signals are passed through real world SSB radios.
Here is a comparison of SSB/RADE V1/RADE V2 at very high SNR (software simulation), representing the best sound quality possible:
SSBRADE V1RADE V2Spectrogram. From left to right: calibration chirp – SSB – RADE V1 – RADE V2. The narrow bandwidth and clean spectrum of V2 can be clearly observed.
Here is the same sample sent over the air at about 10dB SNR, over a Ground wave plus NVIS path from my home to a nearby SDR:
SSBRADE V1RADE V2
Spectrogram of off air signals – note interfering carriers around 1900 Hz, and light NVIS fading.
During my tests I discovered the transmit band pass filter was not implemented correctly on the C version (somehow omitted during the agentic AI C Port). So I set about implementing and testing the filter. No difference in performance (as expected), but the Python and C are now consistent, and the C Tx spectrum slightly improved.
I also worked with Peter and Mooneer to review their verification reports that demonstrated successful integration of freedv-gui and FreeDVNeo with RADE V2. By working together we managed to fine tune the verification procedure, find some bugs in RADE V2, and (I presume) their applications and test procedures.
This verification work was the gateway to starting our RADE V2 beta test campaign, which is now in progress. In this campaign we are testing real time use of RADE V2 in over the air PTT conversations.
Through a dialog with a Google Gemini AI, I gained a better understanding of several properties of RADE V2 that had emerged through training, but were puzzling to me. One example is the benefit of the inherently low PAPR and bandwidth of V2 compared to SSB and traditional OFDM when driving typical Ham PAs which typically have modest inter-modulation performance. The take away is less interference on the bands with RADE V2 than compressed SSB due to “splatter” – another bonus.
The combination of my professional knowledge (e.g. I had to correct the AI on several points) and an AI that has “read every text book and paper” was quite powerful, and helped me better understand how RADE V2 works, and tease out some new benefits. Without the professional knowledge, the converse is true – use of AI can accelerate work down unhelpful paths. This is new technology, and how to use it effectively is a work in progress.
I have been updating and editing a draft paper on RADE V2, including the latest changes in the algorithm and the new take-aways from the AI discourse.
Finally, the rade_c library has been extended to build and test for win32 and macOS, in addition to the reference Linux.
We are ready to start a test campaign for RADE V2 running on a beta version of freedv-gui 3.0. This will involve real-time, over-the-air, push-to-talk (PTT) testing. Testers will need to follow our test and issue submission guidelines.
If you would like to join the RADE V2 testing team, please reach out to us via the comments below.
Update 2 Oct 2026 – thank you, we have had a great response to this post and now have ample member on the test team, and do not require any more testers at this time.
This past month, I focused mainly on getting version 2.4.0 released. This involved resolving remaining bugs, as well as enabling Profile Guided Optimization (PGO) on Windows and macOS to improve performance. Some bugs that were fixed include:
In addition, work on improving the behavior and usability of the Level meter for the upcoming version 3.0. This involved having the Level meter take audio directly from the microphone (previously, it was taken post-AGC) as well as having the meter use log scale instead of linear scale.
For the next month, work on integrating RADEV2 with FreeDV and tests will continue.
More information can be found in the commit history below:
A quiet month for me, as I spent much of August hiking the Larapinta trail, a rugged 230 km walk in the middle of Australia.
However I did have some time for a little FreeDV work. I spent some time finalising an upcoming QST article on RADE, working with the good people at the ARRL.
Most of the time was spent tracking down a subtle issue thrown up by verification procedure – the “loss” metric of the C version of RADE V2 was found to be sensitive to the timing offset (thanks Mooneer for finding this one). Turns out this was an AGC algorithm error, which I have been working on correcting, testing, and documenting. I’ve had this experience before – e.g. when manually porting between Octave and C for previous FreeDV modes.
These days with agentic coding the port is (e.g from Python to C) quite fast (~ 1 day compared to months doing it manually) – but for these subtle bugs a human guiding the AI was definitely required to track down the root cause. Claude, however, deserves the credit for suggesting we try running without AGC which finally trapped the issue.