Auto play if start form

I put an audio tool in the first form and I want the sound to work automatically as soon as I open the application…I used the form onshow() event, but the sound does not work unless I go to the second form and go back to the first form and I want it to work as soon as I run the application

You’ll need to check deviceready status before starting the audio. There are many references to deviceready on this board and how to check for it in the main() routine.