#Mic real time audio transfer
8 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
send audio towards a "localport"? which os?
Hard to know exactly what you are trying to do, but I assume you want to open some audio input device (microphone perhaps) and transmit the audio over IP to a receiver that will then pipe it to an audio output device (speaker).
This can certainly be done. Since you are posting in a C++ forum, I will assume you want it in C++.
I suggest using portaudio to read/write audio devices and sockets UDP to transport the audio over the network. I have been able to do quick prototypes both in C++ and python and it works well enough for demonstration purposes.
You will run into challenges sorting out audio devices, getting sample rates properly configured, dealing with supported channel counts and the like but it is all doable.
Windows
I can provide examples I did in other languages
I also have virtual cable audio
I was trying to see if I can make a discord bot transmit sound coming from my microphone or other devices
on windows, you'll probably want to use WASAPI