Open Davis8483 opened 1 year ago
The error message says it all.
But maybe it's not clear what a "callback stream" is?
A callback stream is a stream with a callback function.
Your stream has a callback function, and you are trying to write to it.
But you can't.
The audio plays correctly when the callback parameter is removed.
Exactly, because then it ceases to be a callback stream and you can write to it.
I'm trying to get the current audio level of the wav file thats playing using a callback function. When ran it results in,
sounddevice.PortAudioError: Can't write to a callback stream [PaErrorCode -9976]
The audio plays correctly when the callback parameter is removed.
Here's the code...