Skip to main content
Associate II
February 13, 2025
Solved

Playing 2 audio files one after other

  • February 13, 2025
  • 2 replies
  • 419 views

Hello community,
I am using AEK-AUD-C1D9031 board and I want to play 2 audio files one after other. What should I change in the code?

Best answer by Max VIZZINI

Hi,

Most of the software portion is the Playback() function that was developed with a specific logic (continuous repeating the sound, accelerating / decelerating the sound and so on...).

The changes are not only in the software but also on how to build the .wave files and how you store them in the flash memory.

Not a trivial task for sure.

I suggest to start from the User Manual 2719 

https://www.st.com/resource/en/user_manual/um2719-avas-architecture-based-on-autodevkit-stmicroelectronics.pdf

Best Regards,

AutoDevKit Team

2 replies

Max VIZZINI
Max VIZZINIBest answer
Technical Moderator
February 13, 2025

Hi,

Most of the software portion is the Playback() function that was developed with a specific logic (continuous repeating the sound, accelerating / decelerating the sound and so on...).

The changes are not only in the software but also on how to build the .wave files and how you store them in the flash memory.

Not a trivial task for sure.

I suggest to start from the User Manual 2719 

https://www.st.com/resource/en/user_manual/um2719-avas-architecture-based-on-autodevkit-stmicroelectronics.pdf

Best Regards,

AutoDevKit Team

Associate II
February 17, 2025

Hi,
Is there any way to flash code in selected sectors in UDE STK 2021?