AndrewDEV
AndrewDEV
CC#
Created by AndrewDEV on 4/16/2023 in #help
❔ I've closed The Designer and i cant open it
7 replies
CC#
Created by AndrewDEV on 4/16/2023 in #help
❔ I've closed The Designer and i cant open it
7 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
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();
}
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
so does anybody know how to play sound on a capture device as a soundboard?
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
google
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
idk
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
but for like 2 or more days
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
but its down at the moment
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
if i get stuck and i cant figure out something i usually ask chatgpt
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
yeah
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
just play it in my mic or my new input
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
but i dont want to save it
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
so if i create a new audio input with NAudio i can "import" my real mic into that?
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
it was just an example
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
i know
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
yes
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
so people on discord for example can hear what i say and if i play a sound effect as well
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
yeah
89 replies
CC#
Created by AndrewDEV on 4/11/2023 in #help
❔ SoundBoard
yes
89 replies