Design of Sound Signal Spectrometer Based on STM32F407
In order to better analyze the spectral characteristics of sound signals,this design uses STM32F407ZE as the control core to construct a sound signal spectrograph.This spectrograph can detect and display the spectral characteristics of a certain segment of sound,such as tapping a cup,instrument pronunciation,etc.Through the spectral characteristics,the vibration frequency of the pro-nunciation object can be obtained,and some characteristics of the object can be analyzed.The frequency range of sound that can be heard by normal human ears is 20Hz~20KHz.The device collects sound signals through a microphone,filters them through a band-pass filter,retains the 20Hz~20KHz sound signal,amplifies it,and then sends it to the MCU for collection.The spectrograph per-forms AD acquisition on the amplified signal according to the set sampling rate and sampling time,and then performs FFT transfor-mation on the collected discrete sound signal to obtain the frequency spectrum of the sound signal,which is displayed on the TFT.