Is it possible to add a sound to the WebUI?
For example, you press the optimization button in the application and when the optimizer is finished the sound will pop up.
Best answer by Gertjan
Did read this blog in the mean-time, https://code.tutsplus.com/tutorials/the-web-audio-api-adding-sound-to-your-web-app--cms-23790. To be honest, I recognize the first part of the post (“Having been burned by these user experience atrocities, web developers stay well away from it.”); we had it in the WinUI but was often badly used and end users needed to turn off the sound to keep a pleasant experience. Then again, times are changing. Curious to learn of others.
BTW: You cannot depend on sound alone as often the sounds of computers are turned off by default. So I do recommend to e.g. use a popup message or dialog, adding info to the status bar that shows ‘finished’ or ‘finished 3/20’ if you do 20 runs.