Design of Sound Recognition and Key Playing System Based on Single Chip Microcomputer
This paper describes the design of an electronic piano performance system based on the STM32F407ZGT6 microcontroller and combined with the fast Fourier transform algorithm for sound recognition and key recognition.The system includes a power stabilization module,MAX9814 microphone sensor module,key input module,OLED display module,and sound playback module.The knocking sound is collected and amplified by the pickup sensor module,and after triggering the microcontroller with an autonomous comparator,it uses FFT algorithm to finally obtain the fundamental frequency.