Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question