uses FLdigi, Gstreamer and VIRTUAL AUDIO CABLEs the virtual audio cables take the CW AUDIO OUTPUT from FLdigi and send it to the OP's soundcard(for CW sidetone monitoring @ low latency) AND sends it over iP to the other CW OP(can use any audio codec via Gstreamer)
one Gstreamer SCRIPT does it all - grabs FLdigi's CW AUDIO OUTPUT - sends it to the sound card - AND encodes it and send it to the other OP over iP
here is the Gstreamer script template that both OPs are using:
gst-launch-1.0 -v audiomixer name=mix ! queue ! audio/x-raw, rate=192000 ! audioconvert ! alsasink device=hw:7 buffer-time=10000 alsasrc device=hw:1,0 ! tee name=t t. ! queue ! audio/x-raw, rate=192000 ! audioconvert ! rtpL16pay ! udpsink host=(ip address of the other OP) port=9393 t. ! queue ! audio/x-raw, rate=192000 ! mix. udpsrc port=3939 ! "application/x-rtp, media=(string)audio, clock-rate=(int)192000, encoding-name=(string)L16, encoding-params=(string)2, channels=(int)2, payload=(int)96" ! rtpjitterbuffer latency=20 ! rtpL16depay ! audioconvert ! mix.
NOTE: alsasink device=hw:7 in the above script is the OP's laptop's own realtek HD soundcard
NOTE: alsasrc device=hw:1,0 is the alsa snd-aloop loopback cable that FLdigi is sending its CW AUDIO output on...
NOTE: the TEE and AUDIOMIXER elements allow you to use the same alsa sound card with multiple sources/sinks
Views: 32
Tags:
© 2024 Created by Chuck aa0hw. Powered by
You need to be a member of QRQcw to add comments!
Join QRQcw