资 源 简 介
Goertzel基本算法在每次采样后立即进行处理,在每个第N次采样进行一次音调检测。在采用FFT算法时,我们要对成块的采样进行处理,但这并不意味着必须按块来处理数据。数字处理的时间很短,因此如果每次采样都存在一次中断,那么这些数字处理完全可以在中断服务程序(ISR)内完成。或者,如果系统中存在采样缓存,那么可以持续采样,然后进行批处理。-Goertzel basic algorithms in each sample immediately after processing, in each of the first N sub-samples to conduct a tone detection. In the use of FFT algorithms, we would like to be processed into a block of samples, but this does not mean that must block processing the data. Digital processing time is very short, so if an interrupt for each sample are present, then the digital processing is fully able to interrupt service routine (ISR) to complete. Or, if the system exists in sample buffer, you can continue to sample, and then batch.