Hello Chris, very good sum up, yes my esp8266 is connected to wifi, and using UDP is trying to send "almost near real time" at least the lag is not very perceived, now, the remote server is not on my local network, is a linode server, and I am trying to use snowboy kitt, which relies on pyaudio and is pyaudio the one which fails if a sound card is not present, I created a dummy sound card but I still cannot manage to make mi virtual microphone the default one

On Tue, Sep 24, 2019 at 12:46 PM Chris Caudle <chris@chriscaudle.org> wrote:
On Mon, September 23, 2019 1:47 pm, Andres Santos wrote:
> The problem is that the device that generates the sound, is not a
> computer,
> it's an esp8266 which is sending only raw values to the server, in the
> server i just Converted it to wav but my script wants the ALSA device

The jackd server is designed for low latency audio transfer between
applications. In most cases virtual servers are not made with low latency
in mind, so probably jackd is not the best solution for your use.
With ESP8266 I assume that the connection is WiFi, which is another source
of variable and high latency. For most cases even WiFi to a dedicated
local machine is not recommended with jackd, if I  understand correctly
you will be generating or collecting data with an ESP8266, sending via
WiFi to some virtual server.  Is the virtual server on the same local
network, or remote and must be accessed over the Internet?

>From the limited information given so far, my impression is that modifying
the python program will be less work than getting jackd to work for this
use case.

--
Chris Caudle




_______________________________________________
Jack-Devel mailing list
Jack-Devel@lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org


--
Web Architect  | Neoris
Innovation over knowledge