I have a sound which is between 150Hz-250Hz. I need two things:
1) The average frequency of the sound for the last 5 seconds. After a discussion with @Gordon it appeared that 1Khz sampling rate will be enough and this could be done on the Puck with FTT.
2) Get the digitalized sound from the microphone for the last 5 seconds.
The microphone is connected on D2(for analog), D1 (for power) and GND.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Guys,
I have a sound which is between 150Hz-250Hz. I need two things:
1) The average frequency of the sound for the last 5 seconds. After a discussion with @Gordon it appeared that 1Khz sampling rate will be enough and this could be done on the Puck with FTT.
2) Get the digitalized sound from the microphone for the last 5 seconds.
The microphone is connected on D2(for analog), D1 (for power) and GND.
Thank you.