DL1YCF has created "loopback" devices that perform like VAC in the PowerHPSDR/Thetis world.
one of the perplexing problems with running pihpsdr on a RPi is I have had to use an external Behringer UCS-202 USB Sound Card in order to run digi modes. We powered the Behringer sound card using the USB of the RPi and the audio in/out plugged into the MIC and HEADPHONES of an Apache TRx.
Well DL1YCF knew there was a way to create a "Loopback" device that eliminates having to use a USB Hardware sound card. He experimented and finally found the "secret sauce" that makes it work. The secret sauce is a Linux "modprobe" command that tells the O/S to create one or more loopback devices for audio.
Example:
echo "***** sudo modprobe for VAC1, VAC2 ****"
sudo modprobe snd-aloop enable=1,1 index=4,5 id=vac1,vac2
All credit should go to Christoph DL1YCF who is a PhD Professor of Chemistry in Germany. He is a brilliant programmer and "Linux magician" He and John Melton have coordinated on the new improvements in pihpsdr:
Location of his source: [url]https://github.com/dl1ycf[/url]
He has added:
(1) PureSignal on the RPi
(2) Diversity on the RPi
(3) Improved CW Sidetone
(4) The use of a Loopback digital audio signal inside the RPi
---------------------------------------------------
I have my speaker icon on the RPi set to
the second LOOPBACK selection.
I set my pihpsdr just as you have shown
> RX menu: local audio, device plughw:5,1
> TX menu: local mic, device plughw:4,0
and my wsjt-x as you have shown
> wsjtx:
> Audio tab, Input: plughw:CARD=vac2,DEV=0
> Audio tab, Output: plughw:CARD=vac1,DEV=1
*AND EVERYTHING SEEMS TO BE WORKING WITH NO sound card (Behringer) ATTACHED TO ANY RPi USB PORT *
I think I finally have a setup that is reproducible.
---------------------------------------------------
72/73 de Ken N9VV
Attention: DL1YCF pihpsdr VAC now available
Attention: DL1YCF pihpsdr VAC now available
73 de Ken N9VV