Please note that MS Edge adds a non-standard white space to code snippets copied from the forum. This issue will be fixed in the next versions of the IDEs. For now you should use a different browser.
Similar threadsB4A Tutorial Android shake event with PhoneSensors
Other [new feature] Three birds with one stone
B4A Question Default message sound
B4A Question sound sugestion
B4A Question Play sound on another channel with MediaPlayer
B4A Question Playing sound