Is such a thing even possible?
Is there a possibility to create a virtual sound card and then use for example PyAudio to listen to its output and save it to a file? NOTE that there is no hardware soundcard present on the machine.
I have tried a lot of things, especially snd-dummy
ALSA module, but I am starting to doubt if I am looking for the right tools. I would be grateful if someone could point me towards at least high-level solution. Preferably something that would work on Ubuntu server.
python3 -m sounddevice
in a terminal – Byandby