Hello I would like to recognize a sound (beep) that is in a wav file and compare it with a direct sound! how to do it ?
' For i = 0 To N - 1 'deletes the used values from the buffer
' TimeBuffer.RemoveAt(0)
' Next
TimeBuffer.Clear
I have done that before – recognize a tone in real time using FFT's. I believe I may have used Klaus' FFT library or I may have used my own. Search this Forum for "Canalrun FFT", maybe I uploaded it, I don't remember.
Barry.
The signal is a sound generated with a microcontroller. It is squared.What kind of signal do want to measure?
Depending on the signal type, there is no real period (example: sounds).
Thank you for sharing this.I have been lurking on this thread. Back around post #10 I mentioned a project I had done years ago. I was able to find that project and have included...
With a quare signal it would be more efficient to check directly the time signal.The signal is a sound generated with a microcontroller. It is squared.
Try the attached one.In a first try, it throws an error:
With a quare signal it would be more efficient to check directly the time signal.
Try the attached one.
You need the CRSpectrum library included in canalruns' zip file and the NanoTime library.
I will try it.
I need to detect a known frequency from a morse code using your example.
The morse code dot duration is 100ms and dash is 300ms and the frequency of the signal is 2KHz.