From 6448892cd96abe37e1b02ab8561fcd840b299797 Mon Sep 17 00:00:00 2001 From: drowe67 <45574645+drowe67@users.noreply.github.com> Date: Mon, 16 Mar 2026 08:44:22 +1030 Subject: [PATCH 1/2] Update README.md --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2535541..50dd10a 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,15 @@ -# Experimental version of FreeDV RADE without python +# C Port of RADE V1 -This repo from https://github.com/peterbmarks/radae_nopy - thanks Peter for this fine innovation +This repo contains a pure C implementaion of RADE V1, with all Python code and dependancies removed. It was derived from the [reference Python implementation](https://github.com/drowe67/radae) with the asistance of Claude Code. It has been reviewed, and carefully tested by the FreeDV team. It passes the same [suite of automated tests](https://github.com/drowe67/radae/pull/66) as the Python version. -Based on work from David Rowe https://github.com/drowe67/radae - -This has been tested on linux and macOS. +This has been tested on Linux and macOS. ## Build ``` cd radae_nopy mkdir build cd build -cmake .. +cmake -DCMAKE_BUILD_TYPE=Release .. make -j4 ``` ## Demo tools @@ -98,4 +96,4 @@ The implementation uses built-in neural network weights (compiled from `rade_en # Automated testing -This commit is simply to see if the run_ctest workflow is triggered and succeeds. +A suite of tests will be run on every GitHub push. They can also be run [locally](https://github.com/drowe67/radae/pull/66). From ec8d335115b5f619d79b244ea1d378beed776e2e Mon Sep 17 00:00:00 2001 From: Mooneer Salem Date: Sun, 15 Mar 2026 15:19:12 -0700 Subject: [PATCH 2/2] Minor tweaks to README. --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 50dd10a..4f10c27 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,23 @@ # C Port of RADE V1 -This repo contains a pure C implementaion of RADE V1, with all Python code and dependancies removed. It was derived from the [reference Python implementation](https://github.com/drowe67/radae) with the asistance of Claude Code. It has been reviewed, and carefully tested by the FreeDV team. It passes the same [suite of automated tests](https://github.com/drowe67/radae/pull/66) as the Python version. +This repo contains a pure C implementaion of RADE V1, with all Python code and dependencies removed. It was derived from the [reference Python implementation](https://github.com/drowe67/radae) with the asistance of Claude Code. It has been reviewed, and carefully tested by the FreeDV team. It passes the same [suite of automated tests](https://github.com/drowe67/radae/pull/66) as the Python version. This has been tested on Linux and macOS. ## Build + ``` cd radae_nopy mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. -make -j4 +make -j$(nproc) # or -j$(sysctl -n hw.logicalcpu) on macOS ``` + ## Demo tools ### RADE Demod: WAV RADE → WAV Speech Audio + Take a wav file off air and produce a demodulated wav file ``` Usage: @@ -22,13 +25,16 @@ rade_demod_wav [-v 0|1|2] ``` ### RADE Modulate: WAV Speech Audio → WAV RADE + Take a wav file with speech in it and produce a RADE OFDM encoded output wav file ready for transmission. + ``` Usage: rade_modulate_wav [-v 0|1|2] ``` ### Encode: WAV → IQ + ``` sox ../voice.wav -r 16000 -t .s16 -c 1 - | \ ./src/lpcnet_demo -features /dev/stdin - | \ @@ -36,6 +42,7 @@ sox ../voice.wav -r 16000 -t .s16 -c 1 - | \ ``` ### Decode: IQ → WAV + ``` cat tx.iq | \ ./src/radae_rx | \