By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,727 Members | 1,159 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,727 IT Pros & Developers. It's quick & easy.

a simple microphone program in vb.net

P: 19
hi i created a program in vb.net 2005 that is meant to allow microphone activity i.e you read the lyrics to a song on the screen and you are meant to be able to sing to it through a microphone like koroake however i have been unable to get help on such a topic please help me is it possible to get some sort of script that just lets me talk through a microphone and come out of the speakers?

thanks in advance

i would prefer this to be a code for vb.net, not a link to an external website because i do not want to have to pay to get the microphone software , i want it to just be code so i can add it quick.
Sep 7 '07 #1
Share this Question
Share on Google+
3 Replies


Robbie
100+
P: 180
This is pretty complex stuff, as long as you don't mean you just want to unmute "Microphone" on the Volume Control (which if you DO want to do, maybe someone else could find an API function to deal with that).

Your best bet is probably the freeware FMOD sound system. It's a DLL and set of Modules, although it's for VB6. =/

Also, it's quite complex to use, especially overly-complex if you just want to output microphone to the speakers.
(i.e. you'd need to initalize a system, create a blank sound, start recording live sound from the microphone to it, wait a bit for it to build up some data in the buffer, then create a new channel, and start playing the recording sound on this new channel. -_-; This would also inevitably build up a bit of a delay between you making a sound and it playing back, probably undesirable for karaoke, although it may be acceptable if the delay's really short)

But sorry, that's the only way I know (and I'm not advanced enough with FMOD yet to be able to explain how to do actually all this in code! - Although it does come with some examples which might help)

If simply unmuting the microphone automatically, and adjusting its volume, is all you need, I expect there is an API available to let you do that, although I'm not someone who knows much at all about APIs. =/
Sep 10 '07 #2

Robbie
100+
P: 180
This might be able to help you, possibly:
http://www.shrinkwrapvb.com/mixer.htm
(Although it's VB5/6 again -_-)
Sep 10 '07 #3

P: 19
cheers for the reply mate erm but i dont know wot u mean? all i want to be able to do is speak through a microphone which then the input, comes out the computer speakers.

code written in visual basics express 2005 hopefully

regards
george
Sep 10 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.