SPL will be calculated as described below:
- collect $N$ samples
- do FFT for the $N$ samples collected: the signal is now in the frequency domain.
- get magnitude of the FFT
- get RMS value of the FFT
- apply a time-weight filter to the RMS value
- apply a frequency-weight filter to the RMS value
- compute the SPL using the RMS value
- output data
Using variable as described below:
- $N = 65536$
- Sampling rate: 48KHz
- calculate cycle: 0.5sec
In some documents, the method of adding time weights uses exponential moving averages:
$$y = \alpha y + (1 - α)y_{new}$$
What does $\alpha$ mean? How to add time weights in SPL operation?