2024-09-06 09:51 AM
Hello,
I was trying to do sound classification with a STEVAL-STWINBX1. As using a NN directly in a microcontroller is impossible due to ram constrains, I decided to do a basic mel spectrogram (no full mfcc, I skip the dct and log stuff in order to speed up the process). Even when reducing the sample rate to around 16kHz, this chip is waaay to slow, like needs 4+ seconds for every second of sound, which makes it impossible to use in real time tasks (it is slow in every step of the process).And that's without the classifier, preprocessing only.
I was wondering what chip is capable of doing STFT fast enough to use in real time environments.
Thanks in advance,
Albert
PD: I am not sure this is the appropiate subforum. I apologize in advance if that is not the case.
2024-09-06 10:36 AM
You can consider offloading some processing tasks to a more powerful companion chip, like an FPGA or a co-processor designed for signal processing. Another approach could be to preprocess the audio data on a more capable device (like a Raspberry Pi or a similar SBC) and then send it to the microcontroller for classification.