Forum > Audio and Video
PlaySound doesn't play sound from resource
shyub:
Hello!
The topic is old, I tried to repeat everything suggested, but I couldn’t reproduce the sound from the resource file. If possible, post a working example of the project.
wp:
See attached
shyub:
Thank you!
I get the *.LRS file using the "lazres.exe" utility with the command "lazres sound.lrs ALARM02.wav".
How did you get the "sound.res" file?
TRon:
--- Quote from: shyub on May 25, 2024, 06:16:15 pm ---I get the *.LRS file using the "lazres.exe" utility with the command "lazres sound.lrs ALARM02.wav".
--- End quote ---
Please do not use that (anymore). Instead see here.
shyub:
I didn't formulate the question quite correctly. I have a file "Bell.wav", how can I put it in the resources instead of "ALARM02"?
Navigation
[0] Message Index
[#] Next page
[*] Previous page