473,625 Members | 3,318 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

a simple microphone program in vb.net

19 New Member
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
3 9612
Robbie
180 New Member
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
180 New Member
This might be able to help you, possibly:
http://www.shrinkwrapvb.com/mixer.htm
(Although it's VB5/6 again -_-)
Sep 10 '07 #3
Porkie999
19 New Member
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

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

Similar topics

5
5384
by: Tangerine | last post by:
Hello! Can someone tell me how to make a function that returns the sound frequency recorded by the microphone in the last moment? I use Dev-C++ and I'm a total newbie if it's important.
1
10712
by: Ken Lemieux | last post by:
It's my understanding in order to mute the pc microphone from c# requires DirectX 9. Could anyone confirm this for me, and provide examples or technicle refrences where it may be discussed? Thanks, Ken Lemieux
0
2102
by: Dr. Zharkov | last post by:
Hello. The following program does not work for me: 1. We load components of Microsoft Agent and disconnect a computer from Internet. 2. In VB .NET we create the project, appears Form1. 3. On Form1 we place Microsoft Agent Control 2.0 with name AxAgent1. 4. We double-click on Form1 and in the appeared procedure write the following code: Dim myGenie As AgentObjects.IAgentCtlCharacterEx Const DATAPATH_1 As String = "genie.acs"
2
2163
by: Olaf Baeyens | last post by:
What is the best way to record from a microphone or line in in a unmanaged C++ program? I found a C# sample using DirectSound but we prefer an unmanaged C++ version with no need of .NET. Many thanks Olaf
2
3770
by: Yannick | last post by:
Hello, I'm currently writing an application that has to Fourier-Analyze little pieces of audio-data but i don't know how to access the microphone input at real time. Are there libraries to do that? Or how is it done? Thank you very much. Yannick, Belgium
1
2394
by: rajibnsu | last post by:
Hi, this is abu syed khan again. i want to write a program in c# that takes input from microphone and then give output through printer port. i can give output through a printer port. but the problem is i cant take input in my program from a microphone. suppose i say "one" in microphone then my program recognize the word and give output through printer port. i can give output but input is a problem for the time being. if u wish, i can post my...
0
4904
by: roopaloswal | last post by:
Hi All, I need to record audio captured from microphone to the local file system .Is it possible? I am trying to use NetConnect() to connect to local file system. But its throwing error. I am attaching my code below. package
3
3323
by: tw | last post by:
Could someone explain me how to get signal from microphone to program in winapi, (than i want put tone into it) and send to speakers?
1
2089
by: dolittle | last post by:
Hi, I'm new to flex and trying to understand a tutorial by reading the code. There is a line: var mics:Array = Microphone.names; Flex docs says that you need to import flash.media.Microphone but on the code they don't: import mx.formatters.DateFormatter; import flash.sampler.Sample; import mx.events.SliderEvent; import mx.events.FlexEvent;
0
8189
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8694
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8635
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8497
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6118
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4089
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4193
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.