Skip to main content
Visitor II
March 29, 2024
Question

Need Assistance with PDM2PCM on STM32F407-DISC1

  • March 29, 2024
  • 0 replies
  • 870 views

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

 

    This topic has been closed for replies.