Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Outputting audio stream into microphone

Hey everyone. Is there a way of outputting audio from my program and redirecting that stream to the system's microphone input 'layer'? I understand this might require some low-level calls being 'Pinvoked', but are there any articles that might help me. For example, if I was to run the output audio stream of my application into Window's Sound Recorder program, it would think that the audio is coming from a microphone and thus record that. I don't want to record a stream, just output it to the device's micrphone input. Thanks for any ideas.

like image 716
Brap Avatar asked Dec 03 '10 23:12

Brap


People also ask

How do I stream audio through my mic?

In addition, you can play audio through mic by changing your default microphone to your system sounds. You can do this by going to Control Panel and clicking Hardware & Sound. Next is you should click Manage Audio Devices and choose Recording. Then allow Stereo Mix and set it to the default mic.

How do I set audio output as mic input?

Right-click the device and select the 'default device option' to ensure it is the default speaker or output device. Select the 'reporting' tab, which is next to your 'playback' tab. Right-click the device and select the 'default option' to ensure that the mic you wish to use is the default mic.

How do I use OBS audio output as the microphone input?

Use the Desktop Audio setting in OBS. Similar to the above, navigate to Audio Mixer > Desktop Audio > Click the Settings button (small gear cog symbol) > Properties. Select your audio interface as the Device. Any audio you play on the computer should then be heard on the stream.

Can I use OBS as a microphone source?

Step 1: In OBS in the Audio Mixer panel at the bottom, click the settings icon next to your microphone, go to Advanced Audio Properties, and turn on Monitoring for your microphone.


2 Answers

I used VB-CABLE (which works as an audio device driver, not external software) to do exactly what you want.

https://www.vb-audio.com/Cable/index.htm

One single input/output device for free and 2 additional devices can be added with a donation.

like image 89
JfredoJ Avatar answered Sep 18 '22 16:09

JfredoJ


I used Virtual Audio Cable just for such purpose!

like image 23
Daniel Mošmondor Avatar answered Sep 22 '22 16:09

Daniel Mošmondor