Question/Issue: Needing explanation on how to record audio from the nicla voice’s microphone.
Hi. For a project I’m trying to retrieve audio data from a nicla voice’s microphone. The default format is PDM uint8_t when audio data are retrieve if I understand the NDP library correctly, but it isn’t a listenable format.
I didn’t manage to use the “collect data” tools with the nicla voice despite flashing the required firmwares on it (I get the error
[WS ] Incoming sampling request {
path: ‘/api/training/data’,
label: ‘roomNoise’,
length: 5000,
interval: 0.0625,
hmacKey: ‘3a848d47e13cda26050a042913dcc897’,
sensor: ‘Microphone’
}
[WS ] Failed to sample data Timeout when waiting for > (timeout: 2000) AT+SAMPLESETTINGS=roomNoise,0.0625,5000,3a848d47e13cda26050a042913dcc897")
).
Even if I manage to get it working, I would like to know if it’s possible to have a detailed process on how to convert the raw data of the microphone into listenable data (without Edge Impulse), to collect long audio sequences… How did you manage to do it in Edge Impulse if your convertion work?.
Thanks in advance.
PS: don’t hesitate to tell me if my request isn’t clear enough