Forums
Pitch analysis and silence vs. speech detection with SignalLab - Printable Version

+- Forums (http://mitov.com/forum)
+-- Forum: .NET 2.0 - 4.0 Components (/forum-8.html)
+--- Forum: SignalLab (/forum-25.html)
+--- Thread: Pitch analysis and silence vs. speech detection with SignalLab (/thread-1249.html)

Pages: 1 2


[SOLVED] RE: Pitch analysis and silence vs. speech detection with SignalLab - angelcaf - 12-15-2012 11:39 PM

(12-15-2012 09:50 PM)Dave Wrote:  If you connect the GenericReal to the FFT-SpectrumOutputPin the inputbuffer simply represents the spectrumdata (volume per frequency in real/double)

I ended up using GenericReal but to get the pitch information you might want to connect it to the FFT-FrequencyOutputPin.
Then in the GenericReal callback I have used the argument "Arg" of type ProcessRealNotify and obtained the mean frequency of the last computed FFT window using Args.InBuffer.Mean().

Finally I have stored those values (the previous 60) in a queue and done my computations to check for the changes in the pitch level.

I hope this might be helpful for some other readers as well and I thank you Dave so much for your quick posting.
Great support!

Angelo