cancel
Showing results for 
Search instead for 
Did you mean: 

Need Assistance with PDM2PCM on STM32F407-DISC1

GSkoumal
Associate II

Hello, I am using an open source voice-recognition software known as Picovoice. To use their library it must be passed a PCM signal at a certain rate with a specific number of samples per frame. I used CubeMX to enable the PDM2PCM library on the STM32F407-DISC1 but am unsure at this point how to receive and convert that data to PCM. 

Any assistance in where I could find examples or learn how to use this library properly would be appreciated. I'll put the links to Picovoice's github and API if anyone is curious about it. The function that needs the PCM audio is pv_picovoice_process(). Thanks!

https://picovoice.ai/docs/api/picovoice-microcontroller/#pv_picovoice_process

https://github.com/Picovoice/picovoice/blob/master/sdk/mcu/include/pv_picovoice.h

 

0 REPLIES 0