CypherpunkArmory / UserLAnd

Main UserLAnd Repository
Other
3.51k stars 390 forks source link

Help - Full duplex audio (record and playback) ? #823

Open mark-orion opened 5 years ago

mark-orion commented 5 years ago

How to use this template: Any line that begins with '#' is a header. Please leave the headers in as is, and fill in the information they suggest below them. These templates are here to help us resolve your issue as quickly as possible. Leaving requested information out of your issue will cause our issue template bot to request that your post be reformatted. If a header doesn't seem relevant to your issue, either write 'N/A' or something similar below the header or consider using a different template.

Describe the issue you are having.

I would like to run digimode hamradio software like wsjt-x or fldigi in UserLand. However, these applications require full duplex audio in order to communicate with the radio. All possible solutions I found are related to audio playback, but not recording / sound input. Possible solutions could be a full duplex pulseaudio client for android (could not find one), an android implementation of jack2 netjack, or maybe this: https://github.com/twaik/pulseaudio-sles-ndk

Describe how your task behaves in a regular Linux environment

I just choose the audio device(s) that I want to use either from within the software or linux.

lewisdonofrio commented 5 years ago

First question - do you have pulseaudio working (output only) using VcXsrv?

mark-orion commented 5 years ago

First question - do you have pulseaudio working (output only) using VcXsrv?

I am not using VcXsrv because all my machines are running Linux. However I can connect audio from Debian/LXDE on Userland to my Linux desktop with PULSE_SERVER="xxx.xxx.xxx.xxx:4713" (xxx being the desktops IP). This even works in duplex mode. With Audacity running in Userland I can both record and play from the remote desktop. Probably the simplest solution would be an Android pulseaudio server, but I cannot find anything with duplex capability - only playback.