X
X
xne712472015-03-23 17:30:48
C++ / C#
xne71247, 2015-03-23 17:30:48

Programmatically play sound into a microphone, how?

How to programmatically play sound into a microphone? There is a desire to troll players in online games, you probably heard on YouTube how trolls substitute votes and call random houses or bomb in the dot. There is a game in which you can use the H key to speak into the microphone. I want to programmatically send a sound file to the microphone at this moment, how can I do this in c sharp?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Pukhov, 2015-03-23
@Neuroware

in a system not older than windows 7 there is a "stereo mixer" recording device, when it is turned on, any sound that any program plays will be sent to this "microphone", but in the game you need to select it as a recording device, if it cannot be selected, then only mechanically, plug the adapter into the microphone from the output to the speakers, but the volume must be at a minimum so as not to burn anything

M
MiiNiPaa, 2015-03-23
@MiiNiPaa

Look towards similar programs . Created specifically to programmatically do what Vitaly Pukhov suggests doing mechanically. It is not very easy to set up, but they allow, roughly speaking, to emulate any sound device.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question