V
V
Verdi Atibayeba2019-09-23 17:03:55
Python
Verdi Atibayeba, 2019-09-23 17:03:55

How to get rid of lags in sounddevice in python3?

Python. I am using the sounddevice library.
Through the callback interface, I use sound capture and similarly playback on the device.
If you send data through a "temporary variable", then everything more or less works without delays and problems, but when you try to transfer information through socket.send, socket.recv and a variable, a lag appears + buffer sizes, sent data and received data become are equal (block_size is the same on sending and receiving).
What could be the problem? It may be that the data, before being sent over the network, needs to be somehow converted?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question