This example shows how to include a sound sample file in a project and play the sample.
When you upload this file to your EV3 device then the sample will also be uploaded.
"Sound sample example" "lib/modules/standard.whl" "lib/modules/device.whl" "lib/modules/sound.whl" ; Include the sample as resource: "resources/sounds/information/start.rsf" "EV3" proc main() ; Select the EV3 device in the simulator... selectDevice(DEVICE_EV3) playSample("start.rsf", 100) halt() end