Home > Software engineering >  is it possible to play audio through microphone?
is it possible to play audio through microphone?

Time:02-20

I'm trying to make a small python script to make some sort of a virtual microphone to play an audio file. Is there any way to do this purely in Python or C ?

CodePudding user response:

The answer is NO. It is not possible to play audio through a microphone. A microphone is built to only record sounds but is not functioned to produce audio. And when you can't play audio through microphone, You cannot make a microphone produce audio with Python / C .

CodePudding user response:

A microphone is meant to input sound and not to output it, perhaps your question was how can you play sound using python or c

I would recommend the pyaudio library for python.

  • Related