Author |
Message |
Gmartin3
Joined: Oct 19, 2021 Posts: 40
|
Posted: Mar 1, 2023 2:38 PM Post subject: Dominant Frequency |
|
Jarek Sometime ago I asked you if there was a way to make the dominant frequency more responsive. Currently as time goes by the data displayed in t numeric slows down and stays on the same value for an extended time.
I have lost track of your response to the question. Coujld you tell me jow to resolve this issue again
thanks
George |
|
 |
jarek
Joined: Oct 22, 2007 Posts: 991
|
Posted: Mar 1, 2023 4:54 PM Post subject: |
|
I don't remember what was the answer in that conversation. But I think you may need smaller number of FFT bins. For more details, I would need to see the design, because there are different ways how FFT can be computed. |
|
 |
jarek
Joined: Oct 22, 2007 Posts: 991
|
Posted: Mar 2, 2023 11:56 AM Post subject: |
|
If you are using StreamToVector2 element (S-to-V), then you can improve responsiveness with those properties:
1. "Input sample count". The smaller this number the faster response, but the time period is shorter. This number is related to the input sample rate. For example with sample rate 256, to get response from the last 2 seconds, you need to set this number to 512.
2. "Overlapped sample count". This number determines the output sample rate. The lower this number is the more frequent (and therefore faster) response. To get the fastest response set it to 1. To use less processing power, set this number higher. |
|
 |
Gmartin3
Joined: Oct 19, 2021 Posts: 40
|
Posted: Mar 2, 2023 2:13 PM Post subject: |
|
Thanks this is very helpful |
|