C# - Make A Program That Detects The Note That Is Being Played In Front Of The Microphone?
Nov 21, 2010
I want to make a program that detects the note that is being played in front of the microphone. I am testing the FFT function of Naudio, but with the tests that I did in audacity it seems that FFT does not detect the pitch correctly. I played an C5, but the highest pick was at E7.I changed the first dropdown box in the frequency analysis window to "enchanced autocorrelation" and after that the highest pick was at C5.
View 3 Replies
ADVERTISEMENT
Sep 30, 2011
I am rather new to VB and every now and then I get an idea of a small project I would like to work on to increase my skills. What I am trying to do is:
1. Input the sound from the microphone
2. Detect what pitch the sound is
3. Compare it to the pitch displayed
For example, lets say I was to have the button "Start". When start is clicked, a pre determined (Or possibly random) note is displayed through a Label for 5 seconds (Lets use C as an example). During this time, the user can attempt to match the note C. When the user sings through the microphone VB picks it up, detects what note the user is singing at, and then scores him over the 5 seconds based on the difference between his note and C. It would also be nice if I could display the volume of the microphone, but this is not too important.
View 3 Replies
Jun 29, 2010
I'm pretty new to VB and I chose a project for school to recognise the pitch/note of a sound comming from my microphone (Which I'm using singular notes using my Guitar). I have no idea if this is even possible :/ So if possible, what things should I be considering and what I pretty much need to do to get the ball rolling for me
View 1 Replies
Feb 10, 2011
I'm trying to make a simple program that detects if a game closes, and when it does, it shuts down the computer.
View 1 Replies
Apr 10, 2010
How can I make a program to record sound from the microphone? I've tried lots of thing but they don't work. Can someone show me how to do ths using winmm.dll or DIrectx?
View 4 Replies
Apr 29, 2009
[Code]...
First i populate the data i wan in a listview than i click on a button to export all the data in the listview into a notepad call default.txt but upon clicking the button i realise that there no data inside my notepad
View 1 Replies
May 26, 2012
I'm trying to make a button that, when pressed, activates a function that detects mouse left click this way: whenever I left-click, it sends key 3 and then 1 (keyboard).
View 8 Replies
Aug 21, 2010
I'm trying to write a program that detects the contents inside a textbox, and if empty displays a warning, and does not input anything into a rich text box. However, if something is detected, it would not display the warning and input the textbox's text into the rtb.
I got everything else, just need help with the textbox detection code.
View 3 Replies
Mar 7, 2012
I want to create a notes app for Windows Phone 7 using Visual Basic.I have read a few tutorials but they are all suited for C# not VB. Basically, I have a main page and a page to add notes. Once the user types out a note on the add notes page, the title of that note appears on the main page. I also want the user to be able to select that title and it will display the note. I have done a bit of research and I know I will need to use isolated storage (not sure how to implement it in VB) to save the notes. I think I will also need a list box that will store the title of the notes.
View 2 Replies
Apr 13, 2012
I would like to make a sticky note using Visual basic 2010 express. Is that possible ?
View 1 Replies
Feb 27, 2010
I'm having problem with a program that generates a random melody.
Label5.Text = (Int(Rnd() * 6)) Generate the first tone.
If Label5.Text = 0 Then
Label1.Text = "A"[code].....
But fore some reason, when the program has played the first tone, it won't play the rest. Why?
View 4 Replies
May 8, 2010
I am using the following code to create an email note[code]...
View 2 Replies
Sep 20, 2009
How can you access the webcam and microphone in VB.net, assuming the user even has one?
I fail to see a My.Computer.Webcam or My.Computer.Microphone, both of which would probably have been a nice addition.
View 1 Replies
Feb 26, 2009
How do you record sound from the normal microphone port onto your program?
View 9 Replies
Apr 27, 2011
Is there a way to get Visual.net to display the sound coming in the microphone as a graph on the screen? for example it would show the frequency and intensity of the waves.
View 2 Replies
Mar 10, 2009
I want to write a program in vb.net that measures the frequency of sound inputted from microphone. What kind of ideas can you offer
View 1 Replies
Sep 17, 2009
I am making a calculator-like program, and would like to make it so that it is always the front-most form, even when another program (like Firefox) is clicked. While Firefox is the active form, my form is still up. Basically, I'd like to make the form like the on-screen keyboard; it never really minimizes unless you specifically tell it to.
[Code]...
View 1 Replies
Jun 12, 2009
In a WPF application I have specified a class variable with an associated property that will automatically initialise the variable the first time is it accessed.
However after all the values that will be put into it have been added, and the window opens, the if statement that is supposed to check to see if the variable needs initialising appears to get bypassed, and the variable is re-initialised, thus deleting the information that was in there.
Private Shared _types As Specialized.HybridDictionary
Private Const _typesLocker As String = "blah"
Public Shared ReadOnly Property types() As Specialized.HybridDictionary
[Code].....
View 8 Replies
Feb 26, 2011
Im working with my project. I have a device called PIR (Passive Infrared Resistor), capable of detecting any kinds of movement. When the device reached the maximum limit of movementthe red light will turn on. The output of my device is -5v. I want my program to respond when my device detects movement
View 2 Replies
Nov 5, 2009
i'm working with crystal report and i use (if not ispostback) to set X and in else to retrieve X . the problem is its working properly in some pages and not working in others.this code sample.
If Not Page.IsPostBack Then
Session("VehicleStatusSelectionFormula") = SelectionFormula
Else[code]....
the problem like i said in last note with ("EnableViewStateMac="false") it make ispostback true all the time.
View 1 Replies
Dec 2, 2011
I have a small network of PCs and I want build an application in order to manage a database. Every user will have his own instalation on his PC. How can I make those aplication to detect the computers in the network, and to detect and interact with the program installed on the other PCs (update records from the instances installed on other computers, add new records to the database from the other computer etc). Where do I start? Is there any book that specifies that?
View 5 Replies
Sep 18, 2009
I want to create a event handler that detects a Directory created/deleted event. is it possible to do using a FileSystemWatcher?
View 2 Replies
Jun 15, 2012
I'm currently having some trouble getting an If statement to work. I want the statement to do its thing when it detects a form is not open. this might sound a bit confusing this is what i mean:
If Form2.open = false Then
blah blah blah
blah blah blah
blah blah blah
[CODE]...
Basically i dont know if im able to have an IF statement occur for when a form is not open and i dont know how to word it.
View 3 Replies
Nov 7, 2011
I want to make program that shows info in game while playing. Problem is that I have no idea how to do it. I tryed some methods, but unsuccessfully. So does anyone has idea how to make it ?
View 3 Replies
Mar 18, 2009
I have a vb.net windows application that i am using, i have embedded a shockwave flash file in one of the forms, in the development enviornment everything works fine. Then I am using the setup and deployment to create a "msi" it automatically detects that the shockwave flash is a dependency for my project and adds the required dll.Once it has created the msi, and i run it on a new machine, the software gets installed, but the flash component inside the form dosent work. is there something special i need to do for that dll?
View 1 Replies
Dec 1, 2009
I was wondering if there is an easy way to analyse sound that is sent to the speakers (just before it's played). For example when playing a song in winamp or windows media player. Or is it easier to write plugins for those programs to form an interface with your own program?
View 2 Replies
Nov 20, 2011
Anyone played with LinearGradientBrush? I'm using it to plot some chunky text with a gradient fill on a picturebox . Say I want the text to be full yellow at the top (255,255,0) and full red at the bottom (255,0,0). What I get is a light orange shade at the top of the letters and a dark orange at the bottom. I never get the full range of shades. I would prefer to have say 10% at the top of each letter plotted with the full starting colour, then the gradient, followed by the bottom 10% plotted with the ending colour. I hope that makes sense. Obviously I'm using MeasureString to get the height of the text and I've played with making that value larger and smaller but it didn't seem to help.I have seen references to SetBlend Triangular Shape and WrapMode which look interesting, but no examples of how these would produce the effect I'm looking for.
View 7 Replies
Jul 31, 2010
i make a simple winform application with AxWindowsMediaPlayer and timer.
My objective is about to make the application play the clip with interval (that's why i use timer)
When AxWindowsMediaPlayer finish playing the first clip, everything's okay. But when it begin playing the next clip. It CAN'T HAVE FULLSCREEN MODE. I have to double click the control manually to have it fullscreen. I use vb 2005 in 7 ultimate.
Here is my code
Private Sub AxWindowsMediaPlayer_PlayStateChange(ByVal sender As Object, ByVal e As AxWMPLib._WMPOCXEvents_PlayStateChangeEvent) Handles AxWindowsMediaPlayer.PlayStateChange
[Code]......
View 6 Replies
Dec 28, 2008
How can you send to a label what is being played in iTunes (latest version)
View 4 Replies
Sep 29, 2010
I need to adjust the volume of this audio clip to make it blend with other system sounds (also played from My.Resources). I've tried looking this up in the help screens and found nothing. Is it possible to do?
.Computer.Audio.Play(My.Resources.POWER_TEST_COMPLETE, AudioPlayMode.Background)
View 3 Replies