Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


dra818_radio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
dra818_radio [2017/09/12 17:06] – [Configuration for DireWolf souncard modem] admindra818_radio [2017/09/12 17:35] – [WAV audio test] admin
Line 91: Line 91:
 TXDELAY 20 TXDELAY 20
 PTT GPIO -4         #RPI GPIO 4 PTT GPIO -4         #RPI GPIO 4
 +</code>
 +
 +====WAV audio test====
 +Configure the radio with pre/de-emphasis and filters, see script above.
 +
 +  * Text-to-speech example:<code>
 +# Set pin 4 as output
 +raspi-gpio set 4 op
 +
 +# Transmit
 +raspi-gpio set 4 dl
 +
 +echo "<callsign>" | cwwav -f 700 -w 20 -o morse.wav && aplay morse.wav
 +
 +/home/pi/.local/bin/google_speech -l nl "Dit is <callsign>, met een testuitzending."
 +
 +# Receive
 +raspi-gpio set 4 dh
 +
 </code> </code>
dra818_radio.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1