C
C#2y ago
AndrewDEV

❔ SoundBoard

Hi! I am working on a soundboard lately and i got stuck with playing a sound throught microphone. i've heard that you can do this with NAudio but i dont know how. Can someone please help me?
50 Replies
canton7
canton72y ago
Playing a sound... through a microphone?
undisputed world champions
i mean microphones and speakers are kinda the same thing ... like generators and electric engines are basically the same but i don't know if that's a smart idea ^^
TheRanger
TheRanger2y ago
you mean you want to hear a sound coming from the microphone? i remember screaming on my old speaker and my computer recognized it
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
TheRanger
TheRanger2y ago
didnt BSOD with me
AndrewDEV
AndrewDEVOP2y ago
yeah but you know a simple soundboard like voicemod's soundboard not using a mic as a speaker
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
so its a virtual cable as people say it?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
TheRanger
TheRanger2y ago
are we talking about Stereo Mix ?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
just a simple soundboard
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
no a soundboard select a sound fx and play it thourgh your mic and when you go in like discord or something people can hear it
MODiX
MODiX2y ago
tebeco#0205
maybe you want the opposite of stereo mix in fact
Quoted by
<@!689473681302224947> from #SoundBoard (click here)
React with ❌ to remove this embed.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
TheRanger
TheRanger2y ago
that does sound like stereo mix
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
NO
AndrewDEV
AndrewDEVOP2y ago
Free Real Time Voice Changer and Modulator - Voicemod
Soundboard: Free PC Meme Sound Effects App - Voicemod
Voicemod's meme soundboard works online with tons of games and programs including CS:GO, Fortnite, Valorant, Among Us, Discord, Skype, TeamSpeak, and more!
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
sorry
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
sorry
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
kinda
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
yes
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
yeah
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
so people on discord for example can hear what i say and if i play a sound effect as well yes
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
i know
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
it was just an example
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
so if i create a new audio input with NAudio i can "import" my real mic into that? but i dont want to save it just play it in my mic or my new input
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
yeah if i get stuck and i cant figure out something i usually ask chatgpt but its down at the moment but for like 2 or more days
sibber
sibber2y ago
wouldnt this require a custom audio driver where did you see that NAudio supported this
AndrewDEV
AndrewDEVOP2y ago
idk google
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
AndrewDEV
AndrewDEVOP2y ago
so does anybody know how to play sound on a capture device as a soundboard?
MODiX
MODiX2y ago
tebeco#0205
my advice is / was ... if you're using NAudio maybe ask naudio 🙃
Quoted by
<@!689473681302224947> from #❔ SoundBoard (click here)
React with ❌ to remove this embed.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
AndrewDEV
AndrewDEVOP2y ago
Sounds is a comboBox
private void Play_Click(object sender, EventArgs e)
{
var reader = new NAudio.Wave.Mp3FileReader("C:\\Users\\Andris\\Desktop\\Cornfield chase.mp3");
int index = 100;
for (int idx = 0; idx < NAudio.Wave.WaveOut.DeviceCount; ++idx)
{
string devName = NAudio.Wave.WaveOut.GetCapabilities(idx).ProductName;

if(Mics.SelectedItem != null)
Sounds.Items.Add(devName);
{
if (devName.StartsWith(Mics.SelectedItem.ToString()))
{
Sounds.Items.Add("ok!");
index = idx;
break;
}
}
}
NAudio.Wave.WaveOut waveOut = new NAudio.Wave.WaveOut(){DeviceNumber = index};
waveOut.Init(reader);
waveOut.Play();
}
private void Play_Click(object sender, EventArgs e)
{
var reader = new NAudio.Wave.Mp3FileReader("C:\\Users\\Andris\\Desktop\\Cornfield chase.mp3");
int index = 100;
for (int idx = 0; idx < NAudio.Wave.WaveOut.DeviceCount; ++idx)
{
string devName = NAudio.Wave.WaveOut.GetCapabilities(idx).ProductName;

if(Mics.SelectedItem != null)
Sounds.Items.Add(devName);
{
if (devName.StartsWith(Mics.SelectedItem.ToString()))
{
Sounds.Items.Add("ok!");
index = idx;
break;
}
}
}
NAudio.Wave.WaveOut waveOut = new NAudio.Wave.WaveOut(){DeviceNumber = index};
waveOut.Init(reader);
waveOut.Play();
}
AndrewDEV
AndrewDEVOP2y ago
Pastebin
private void Play_Click(object sender, EventArgs e) { ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?