This setup is one of many ; exploring the options for sending more code audio over ip - In this example, there is a special setup for the WIN 10 CWop - using a Gstreamer command to use the VB-AUDIO HI FI CABLE as the virtual audio cable to receive the CW AUDIO from the Win 10's CwType - however in order to hear your own sidetone...you have to capture the audio on the VB-AUDIO HI FI cable and also send it to your own sound card, in addition to sending it to the target CWop's ip address over Gstreamer... The way this is done in this example...instead of using an audio repeater APP....we just use Gstreamer to provide, in low latency, a multi broadcast of its audio over ip transmission, sending CwType/VB-AUDIO HI FI CABLE - both to the other CWop over ip AND to your own ip address..then using a local GSTREAMER receiver script...you pick up the audio on the VB-AUDIO/CWtype's hi fi cable pipeline...and it gets routed to your own sound card so you can hear CwType...with near zero latency....
for the WIN 10 gstreamer install info see here:
[ Ссылка ]
*****************************************************************
here are the WIN 10 GSTREAMER SCRIPTS used in this example
*****************************************************************
to Transmit to the other CWop's ip address AND to your own ip address so you both can hear the cw from the WIN 10 CwType
C:\gstreamer\1.0\x86_64\bin
gst-launch-1.0 -v wasapisrc device="\{0.0.1.00000000\}.\{f1fdb333-c944-491b-8408-651b61285f2d\}" use-audioclient3=true low-latency=true ! audioconvert ! queue ! opusenc bitrate=512000 frame-size=2.5 ! rtpopuspay ! queue ! multiudpsink clients=192.168.1.143:1194,192.168.1.101:1194
(NOTE: the ip address for the other CWop will be their external ip address, not your local LAN ip address...however, you can use the 2nd ip local address to go to the ip on your WIN 10 computer as listed in your terminal command "ipconfig")
NOTE: the wasapisrc device ID shown in the command above, the VB-AUDIO HI FI CABLE, was discovered using a gstreamer command:
C:\gstreamer\1.0\x86_64\bin
gst-device-monitor-1.0
[ Ссылка ]
To receive & hear your own sidetone from the WIN 10 CwType
C:\gstreamer\1.0\x86_64\bin
gst-launch-1.0 -v udpsrc port=1194 caps="application/x-rtp" ! rtpjitterbuffer latency=10 ! rtpopusdepay ! opusdec ! audioconvert ! wasapisink device="\{0.0.0.00000000\}.\{b4378d5f-7e05-42a2-b42a-2a00f63aee2c\}" sync=false buffer-time=10000
NOTE: the wasapisink device id, for the realtek hd sound card, was found using the gstreamer command mentioned above
To receive the other CWop's morse code audio over ip -
C:\gstreamer\1.0\x86_64\bin
gst-launch-1.0 -v udpsrc port=1195 caps="application/x-rtp" ! rtpjitterbuffer latency=10 ! rtpopusdepay ! opusdec ! audioconvert ! wasapisink device="\{0.0.0.00000000\}.\{b4378d5f-7e05-42a2-b42a-2a00f63aee2c\}" sync=false buffer-time=10000
******************************************************************
the LINUX CWop's Gstreamer commands(using JackRouter)
To SEND to the WIN 10 CWop's ip address
gst-launch-1.0 -v jackaudiosrc ! audioconvert ! audioresample quality=10 ! queue ! opusenc bitrate=512000 frame-size=2.5 ! rtpopuspay ! queue ! udpsink host=(external ip address of the win10 CWop) port=1195
to RECEIVE from the WIN 10 CWop
gst-launch-1.0 -v udpsrc port=1194 caps="application/x-rtp, media=(string)audio, payload=(int)96, clock-rate=(int)48000, encoding-name=(string)OPUS" ! rtpjitterbuffer latency=10 ! rtpopusdepay ! opusdec ! audioconvert ! jackaudiosink sync=false buffer-time=10000
NOTE: for the LINUX CWop, there is no need to run a duplicate transmit command to hear your own sidetone...since with JackRouter - you can just connect the output from CwType right over to your sound card port GUI pins
NOTE: to get PulseAudio to produce a 2nd instance of the Jack/pulse bridge plugin - the command pacmd load-module module-jack-sink client_name=CwType was used...
NOTE: to run a windows program like CwType on Linux, W.i.n.e is installed and runs CwType very well [ Ссылка ]
Ещё видео!