/TwoWayRadio

Radio Audio Corpus Collection Toolkit with Hackrf One.

Primary LanguagePythonMIT LicenseMIT


Markdownify
Radio Audio Corpus Collection Toolkit (RACCT)

A Radio Audio corpus Collection Toolkit built on GNU Radio and HackRF One.

Gitter

Key FeaturesHow To INSTALLDownloadRelatedLicense

Key Features

  • GNU Radio Companion Flow based scripts (GRC).
  • Processing audio using Kaldi audio list.
  • Multi processing for large-scale audio corpus transmissions.

How To INSTALL

To clone and run this application, you'll need Git installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/Wenhao-Yang/TwoWayRadio

# Go into the repository
$ cd TwoWayRadio

# Install RadioConda (Recommended)
$ bash radioconda-2023.07.26-Linux-x86_64.sh

# Install dependencies
$ pip install -r requirements.txt

You can download radioconda (2023.07.26) the installable package for Windows, macOS and Linux.

Hackrf One

train

Recipes

examples

file_store

qtui_app

radio_dataset: for transmit audio samples in radio communication

revievers

transmitters

radio_dataset

Simulation of radio transmission within GNU Radio. The GRC flow graph is shown below.

train
python recipe/radio_dataset/file_transfer.py --wav-scp <wav.scp path> --replace-str <replace_string_for_new_audio path> --random-seed 1234 --rand-snr 1 --bandwidth nbfm

SNR is set to sampled from a Gamma disctribution whose mean is <rand-snr>.

Radio Audio Samples

The following audio samples are transimitted by the RACCT using HackRF One.

train
train