Post Reply 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pitch analysis and silence vs. speech detection with SignalLab
12-15-2012, 01:43 AM
Post: #7
RE: Pitch analysis and silence vs. speech detection with SignalLab
Hello Dave,
I am almost there with the implementation.
I am using the FFT component and I have set the SamplingWindowStep to 100.
This number came out after some calculations and should apply the FFT every 100 samples, that translated to time should be every 10ms using a sample rate of 11.000 Hz.

This is the formula used: SamplingRate = NumSamples/ Time.
Therefore Time = NumSamples/SamplingRate = 100 / 11000 = 0.009 s = 10ms

Now I am doing the following:
- I am using the callback method FrequencyEvent of the FFT component.
- In the callback implementation: I get the value Args.MaxFrequency (let's name it MAX_FREQ)
if I am not wrong this should give me the highest intensity in the window just calculated.
- then I add it in a queue containing my last 60 outputs (MAX_FREQ) coming from the FFT. This should give me access to 60 x 10ms = 600ms of data.

The problem is that all values in the queue are always the same, it looks like the callback is not called every 100ms according to the steps parameter set in the FFT component or I am not understanding the meaning of Args.MaxFrequency or the meaning of the callback itself.
Do you have any suggestions?

Thanks a bunch,
Angelo
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Pitch analysis and silence vs. speech detection with SignalLab - angelcaf - 12-15-2012 01:43 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)