FreeDATA/README.md

47 lines
814 B
Markdown
Raw Normal View History

2020-12-12 19:01:57 +00:00
# FreeDV-Socket-TNC
My first attempt to learn more about FreeDV and how to create a TNC which gets data from a TCP/IP Socket.
2020-12-12 19:07:38 +00:00
## Setup
2020-12-12 19:08:40 +00:00
```
2020-12-12 19:07:38 +00:00
sudo apt install portaudio19-dev
2020-12-12 19:08:40 +00:00
```
2020-12-12 19:07:38 +00:00
## Run
2020-12-12 19:08:40 +00:00
```
2020-12-12 19:07:38 +00:00
./__main__.py --rx-sound-device 2 --tx-sound-device 2 --port 3000
2020-12-12 19:08:40 +00:00
```
2020-12-12 19:07:38 +00:00
## Parameters
--rx-sound-device <1>
--tx-sound-device <1>
--port <3000>
To list all audio devices run
2020-12-12 19:08:40 +00:00
```
2020-12-12 19:07:38 +00:00
./__main__.py --list-audio-devices
2020-12-12 19:08:40 +00:00
```
2020-12-12 19:07:38 +00:00
## Socket Commands
BC:<DATA> Send a simple broadcast
2020-12-12 19:39:26 +00:00
## Other stuff
Create audio sinkhole
```
sudo modprobe snd-aloop index=1,2 enable=1,1 pcm_substreams=1,1 id=CHAT1,CHAT2
```
2020-12-12 19:07:38 +00:00
2020-12-12 19:17:03 +00:00
## Credits
2020-12-12 19:07:38 +00:00
David Rowe and the FreeDV team for developing the modem and libraries
FreeDV Codec 2 : https://github.com/drowe67/codec2
2020-12-12 19:01:57 +00:00
This software has been heavily inspired by https://github.com/xssfox/freedv-tnc/