3 ms·
It plays directly. It is possible to capture the audio data directly with a little hacking. For instance, something like with open("data.dat", "ab") as f
by banana_giraffe 4y ago
It plays directly. It is possible to capture the audio data directly with a little hacking. For instance, something like
with open("data.dat", "ab") as f:
f.write(frame.planes[0].to_bytes())
in Audio's process() does indeed dump out the captured data to something that can be replayed.