¿ªÔÆÌåÓý

Looking for flow diagram of the audio paths for sBitx v2 or v3


 

I am trying to figure out the unnecessarily, complicated audio plumbing for the sBitx v2 and v3. Has found or attempted to reverse engineer this?
?


 

Forgot to mention is that the main reason for understanding this current architecture is to convert it over to pipwire. I need to understand how and what it's doing before making changes.
?


 

Hi JJ,

I wrote the software we use from scratch, so I understand it very well, and it is not complicated, indeed, I can not imagine something simpler than the sbitx. What are exactly your questions?

radio rx -> WM8731 in?(one side of stereo) -> software
mic -> WM8731 in?(other side of stereo) -> software
software -> WM8731 out (one side of stereo) -> radio tx
software -> WM8731 out (other side of stereo) -> earphones / speaker

Farhan's reference implementation also uses alsa audio loopback - it just "plugs" to the rx and tx through software, of course using proper conversions when needed.

Cheers,
Rafael Diniz

On 10/28/24 7:37 PM, JJ - W9JES wrote:
I am trying to figure out the unnecessarily, complicated audio plumbing for the sBitx v2 and v3. Has found or attempted to reverse engineer this?


 

Thanks for replying. It seems complicated to many of us especially when tiering 3rd party applications.?
?
There is some trickery going on in software that controls the Wolfson module loaded into Linux. There is a MUX for line in/out audio The capture mix mutes on TX and the mater volume is boosted. What is sidetone used for?
?
I understand how the loopbacks are controlled and used. It's the module to linux to software piece that has me confused.


 

Sidetone is not used.

The module of the loopback or the wm8731? It is basically read and write to the device, there is no mux in the driver. If you want we can make a call I can explain what I did, and may be it will help you. Pipewire integration is an option indeed, but not the only one. Keeping just with alsa is also an option, as both pipewire and pulseaudio both can talk directly to the alsa API. I'm not an experto on the ham-radio ecosystem, so I'm not really sure if using a sound daemon is a good option. My first bet is keeping it simple - just ALSA.

- Rafael

On 10/28/24 8:53 PM, JJ - W9JES wrote:

Thanks for replying. It seems complicated to many of us especially when tiering 3rd party applications.
There is some trickery going on in software that controls the Wolfson module loaded into Linux. There is a MUX for line in/out audio The capture mix mutes on TX and the mater volume is boosted. What is sidetone used for?
I understand how the loopbacks are controlled and used. It's the module to linux to software piece that has me confused.