The Sendbox toolbox is part of the WP(1-)2(-3) workload.
Requirements:
pydub
(pip install pydub
) -- itself requiringffmpeg
library; see https://ffmpeg.org/.- NumPy
commpy
(pip install scikit-commpy
)bitstring
(pip install bitstring
)
Run the test script test_read_opus.py
to:
- Read a test WAV file (default available in repo: "test_short.wav")
- Encode it to an OPUS file
- Read the OPUS file as bytes.
- Modify bytes to model the wireless channel.
- Decode modified bytes with OPUS decoder to a WAV file.