Streaming audio over UDP
This feature can be used to send audio to external data decoders.
Specifications
- Channels: 1 (left)
- Sample rate: 48 kHz
- Sample format: 16 bit signed
For example, on an android phone, you can use termux
Record audio
nc -l -u 7355 > sound.raw
Where “7355” is the port specified in the MagicSDR application. After recording, convert the raw data to a wav audio file:
sox -t raw -r 48000 -b 16 -c 1 -L -e signed-integer sound.raw sound.wav
To access the android file system from termux, run:
termux-setup-storage
Decode Morse CW
The multimon-ng utility is used.
nc -l -u 7355 | sox -t raw -esigned-integer -b16 -r 48000 - -esigned-integer -b16 -r 22050 -t raw - | multimon-ng -t raw -a MORSE_CW -