Adding sound to GUI


I am adding sound to my GUI using the xtronical audio library. I intend to issue sounds from the code but I was wondering if there was any native support. Eg. how do I associate click sounds, etc to buttons?

What MCU/Processor/Board and compiler are you using?


What LVGL version are you using?


What do you want to achieve?

A GUI that plays sounds.

LVGL has no built-in sound support, but for something like button clicks I would just hook into LV_EVENT_PRESSED and play the sound there.

Sounds good :smiley:

Do you finish it ? or use tinyalsa