Detect What Frequency Of The Sound That Is Playing On A Speaker?
Sep 8, 2009how to detect what frequency of the sound that is playing on a speaker on vb2005. what reference should i have. what function should i use.
View 3 Replieshow to detect what frequency of the sound that is playing on a speaker on vb2005. what reference should i have. what function should i use.
View 3 RepliesFor stopping by, is there a way to detect when a sound file (WAV) stops playing?
e.g.> There is a FORM with a PLAY button on which is coded to play a WAV file. But how does VB detect when the WAV file has finished playing?
Here is the code I have on the PLAY button
My.Computer.Audio.Play("test.wav", AudioPlayMode.BackgroundLoop)
show code for creating several tones to play in my computer speaker that have different frequencies for the tones and have different time lengths the tones play for!
View 11 Repliesi need to make an app which detects if the speaker has given out beep sound or not
View 3 Repliesi need to make an app which detects if the speaker has given out beep sound or not
View 7 RepliesI know it is possible to use the internal system speaker to generate sound.
EG
System.Console.Beep(500, 500)
'Beep(FREQUENCY,DURATION)
However i was wondering if anyone knows if it is possible and how to go about using said system speaker to speak - MESSAGE YOU ARE NOT AUTHORISED - for example
I am creating an app that allows admin access via a usb key (this is working fine) and i want their system to sound an alarm with a warning message should they try to force thier way into the admin section without the admin usb key.
how i can use this snippet to retrieve the frequency of a sound.[code]
View 4 Replies"console.beep(frequency, duration)" is clear to me but if I want to set the intensity of the beep (i.e volume) what is the best way to do it?
View 1 RepliesI 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 RepliesI am looking to be able to do life frequency detection in VB.net. I must say I don't really know where to begin here. I have looked into BASS.net, but that seems to only work with pre-recorded audio. I need to be able to detect the frequency of audio coming in over the line in or mic input in near real-time.
View 2 RepliesHow I use Directx SDK to detect a microphone and the frenquency in hertz (pitch) of human voice?
View 2 RepliesIm developing a TAPI Applicationi had many problems with Acepting the call and detecting DTMF tones, but now these problems are solved,,, now the problem im facing is to play a wave file to the user who is on the phone...... Is there anyone who can gimme code or tel me how to do this in Vb.net
View 5 RepliesI am creating a program in VB 2010 that needs to play two synthesized sine waves at the same time, one in the right channel and the other tone in the left channel.
These tones will be 2 slightly different frequencies.
I tried to start a thread a week or so ago, but I did not make it clear exactly what I needed, and did not get my project started yet.
I have a VB.NET application that crashes on a client's computer with a BSOD error... KERNEL_DATA_INPAGE_ERROR.This error occurs at a point where my program does two things:
Locks the computer
Plays a sound in BackgroundLoop mode
For locking the work station, I am just using this:
<DllImport("user32")> _
Public Shared Sub LockWorkStation()
End Sub
For playing the sound, I am doing this:
My.Computer.Audio.Play(My.Resources.ResourceManager.GetStream("somesound"), AudioPlayMode.BackgroundLoop)
Now, this sound loops until the user logs back in. My software detects the session state switch and stops playing the sound. Sometimes when I log back in, the sound card plays garbage data for a split second, instead of the rest of the audio buffer. I get the impression that this has something to do with session switching.Could my client be having an issue where there is memory corruption occurring at the point of locking the computer?I apologize for the vagueness of this post... I am not sure where to begin as I cannot reproduce the problem myself.
Edit: If the sound is left to play on its own, even without locking the computer, eventually the computer will lock up and then bluescreen. Playing the sound while locking at the same causes it to happen sooner.
Edit #2: So I've seen it fail now. The sound loop starts playing correctly but quickly switches to looping of garbage data. It's as if it is just reading a random location in memory and looping that. Very strange behavior!
I want to have a applacation then wehen somthing happens (like, uhh a error message but without the message box.) what would be the code that plays the windows alert sounds, and one that applies to the current sound scheme i have running.
View 1 RepliesHere is the code that I have that plays a certain sound
Dim Alarm As System.Media.SoundPlayer = New System.Media.SoundPlayer(Steven_Anderson_HW5.My.Resources.Alarm)
Alarm.Play()
Well, is there a way to make the sound repeat itself after it is done playing?
I want to play all sound formats in visual basic pocket pc.I'm using visual studio 2005 . net
View 2 RepliesI've been looking for a way to play an MP3 file over a specific sound device for a while now and I just haven't been able to find any decent code examples in VB.NET. Basically I need a way to find and list all the sound devices on the system and then play an MP3 file over one of them. I have found code examples in C# and similar but I couldn't find any VB.NET code.
View 2 RepliesI made a Listbox but there is an issue.. I want to play a sound when I click one of the names in the listbox.
View 6 RepliesI'm writing a metronome program (a.k.a. click track; it's used for keeping you in time in music), and can't for ther life of me figure out how to play a sound byte (a short beep) as the beat.
I know I need to place this code in the Timer Tick event, but I just have no idea how to import/reference etc. the sound.
Is their a way for my application to get any sound playing from my pc and play it?
View 6 RepliesHow can I display text while a sound is playing? It keep pausing until the sound has completed.
View 1 Repliesim trying to open another form2/app that have music but i wanna stop the sound in form1 from playing when form2 open?
View 1 RepliesI want to make a function to record the sound and then to play the record,like the telephone. I have ever download some articles,but they were all too complex,or they have too many unassociate code,so I can not understand the courses of the recording and playing.I want to get some code here?
View 2 Repliesiam need 1 program detect sound on computer if have sound it will alert " currently have sound"if not" currently no sound"
View 2 RepliesI was just thinking if there is any component which monitors sound output. My intention is to recognize a particular sound coming out from my soundcard. I know its an issue about the driver of my sound card but is there a way I can get atleast noise level coming out of my speakers and maybe draw a graph and detect the peak at when the sound is played?
View 7 RepliesHow I can get the Media playing now playing using Sendmessege or wmp.dll?
View 5 RepliesI have a question about of capture sound function, someone have a code example for visual basic 2010 in windows 7?, I tried using mcisendstring function but the sound quality, is poor.
View 5 RepliesI have background sound loop with the My.Computer.Audio and it works fine. I want to play another sound (like a beep) when desired without stopping the background sound. Several examples I have found don't seem to work. I am in VB.NET 2008 Professional.
View 8 RepliesI'm ready to start adding sound to a 3D game and I'm looking for a decent Free library.it would not require DX and be something like:
dim MySound as SoundLib.Sound
MySound = SoundLib.LoadSound("soundfile.wav")
SoundLib.Play3DWorld(Location.X, Location.Y, Location.Z, VolumeModifier, MySound)so far all Im finding is expensive, C#, old, or not .NET compatible.