NoiseCapture icon indicating copy to clipboard operation
NoiseCapture copied to clipboard

Configurable fast sampling rate

Open nicolas-f opened this issue 7 years ago • 7 comments

Currently the display is refreshed all 125 ms. Some users want to have a real time level with lower display frequency.

Do we let the user select the window time of real time measurement ?

nicolas-f avatar Sep 25 '17 13:09 nicolas-f

125ms is quite fast. I'm not sure that lower display frequency is a solution. The problem may be due to the smartphone.

Picaut avatar Oct 10 '17 09:10 Picaut

Yes its too fast for the display. Users want to have the time to read the value, so may be an option to switch to slow (1s) display while measuring (displaying the recorded values).

nicolas-f avatar Oct 10 '17 09:10 nicolas-f

We could change the "window" option for something more user friendly like:

"Real time display mode"

  • Fast 125ms Rectangular
  • Fast 125ms Hann
  • Slow 1s Hann

nicolas-f avatar Oct 10 '17 09:10 nicolas-f

OK, but not a priority

Picaut avatar Oct 10 '17 09:10 Picaut

We could use IEC 61672-1 specification in order to fit to the displaying of noise level as in standard noise level meter:

https://www.nti-audio.com/en/support/know-how/fast-slow-impulse-time-weighting-what-do-they-mean

When the sound is suddenly switched OFF, the displayed 'F' level decays at a rate of 34.7 dB/s, while the displayed 'S' level decays at a rate of 4.3 dB/s.

nicolas-f avatar Apr 08 '24 11:04 nicolas-f

It must be done with something related to a weighted average but I don't have any clue to the coefficients for the implementation. @pierromond

nicolas-f avatar Apr 08 '24 11:04 nicolas-f

Implemented in https://github.com/nicolas-f/NoiseCaptureKotlin/commit/fbf3d36592ee5e33aaca10db0e86567cde1dcc54

nicolas-f avatar Apr 18 '24 13:04 nicolas-f