So could help me, please?
I want to play sound wav in my ignition application and I don know where I have to save my file with wav effects. I think that I will have a sound file on the server and then I will play the sound. I must save my file to the root folder on my project? And what will then be the path?
It will be some this?
Use the Audio component (requires 8.1.16+).
Only in the rare case where you need to play unsolicited audio directly from a script would you use playSoundClip.
As for usage, you supply playSoundClip with the raw content of an audio file to pass to your speakers, so you would need to e.g. system.file.readFileAsBytes(path) and then pass the byte array to playSoundClip. The path to use to the file is going to depend on where you’re invoking your script from.