My SciELO
Services on Demand
Journal
Article
Indicators
Cited by SciELO
Related links
Similars in
SciELO
Share
Ingeniería Electrónica, Automática y Comunicaciones
On-line version ISSN 1815-5928
Abstract
PERDOMO-CAMPOS, Alejandro; RAMIREZ-BELTRAN, Jorge and MORGADO-ESTEVEZ, Arturo. Algorithm for the real-time computation of Mel spectrograms in STM32 microcontrollers for keyword spotting in voice. EAC [online]. 2024, vol.45, n.2, pp.13-27. Epub Oct 14, 2024. ISSN 1815-5928.
Keyword spotting is a subfield of automatic speech recognition revolutionized in the last decade with the incorporation of artificial intelligence techniques based on deep learning. The implementation of keyword spotting models in microcontrollers implies as a first step the digital processing of audio signals to carry out the feature extraction in real time. The models implemented in microcontrollers found in literature use MFCC coefficients for feature extraction. It has been proved that when using deep learning techniques for classification, it is more effective the use of Mel spectrograms. In this paper, it is proposed an implementation of the algorithm for the obtention of Mel spectrograms in real time in STM32 microcontrollers compatible with the design of a real time keyword spotting system. Its use is evaluated in a test system based on the STM32G474RET6 microcontroller and the MEMS microphone SPH0645LM4H-B. The proposed implementation reduces the use of RAM memory in the microcontroller and fills the existing gap in the CMSIS-DSP driver of a routine for the computation of the Mel spectrum for a vector of signal samples.
Keywords : keyword spotting; feature extraction; Mel spectrogram; STM32.











