Skip to content

Commit

Permalink
Use streaming RADAE flow instead of pre-canned files.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiw committed Aug 17, 2024
1 parent ba1f5d7 commit 1dc03af
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 22 deletions.
22 changes: 0 additions & 22 deletions radae_demo_rx.py

This file was deleted.

11 changes: 11 additions & 0 deletions radae_demo_rx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

RADAE_PATH=$1
RADAE_VENV=$2

# The below does the following:
# * For each block of OTA audio from freedv-gui:
# * Convert the audio into IQ data via zero-padding.
# * Pass the IQ data into the RADAE decoder
# * Send the resulting 16 kHz audio back to freedv-gui.
$RADAE_VENV/bin/python3 $RADAE_PATH/int16tof32.py --zeropad | $RADAE_VENV/bin/python3 $RADAE_PATH/radae_rx.py $RADAE_PATH/model17/checkpoints/checkpoint_epoch_100.pth -v 1 | $RADAE_PATH/build/src/lpcnet_demo -fargan-synthesis - -
Binary file removed rx_radae_demo.s16
Binary file not shown.
Binary file removed rx_radae_demo.wav
Binary file not shown.
Binary file removed tx_radae_demo.wav
Binary file not shown.

0 comments on commit 1dc03af

Please sign in to comment.