Skip to content

Commit

Permalink
Create new TX script.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiw committed Aug 17, 2024
1 parent bdf48bc commit c9e33a8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions radae_demo_tx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/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.
export PATH=$RADAE_VENV/bin:$PATH
$RADAE_PATH/inference.sh $RADAE_PATH/model19_check3/checkpoints/checkpoint_epoch_100.pth /dev/stdin /dev/null --end_of_over --auxdata --EbNodB 100 --bottleneck 3 --pilots --cp 0.004 --rate_Fs --write_rx /dev/stdout | python3 $RADAE_PATH/f32toint16.py --real --scale 16383

0 comments on commit c9e33a8

Please sign in to comment.