Adding Sound Effects to Your Simulation Example files
Simulation Insight and Junior Simulation Insight now have a new Action button which allows you to add sound effects to your simulation.
So let’s add a sound effect of screeching brakes to the Car braking simulation, so that when the break pedal is pressed, the sound plays.
Open the Car braking simulation.
Click on the Stop button to stop the simulation running.
Go to the Model view and click on the Action button to add it to the Car Braking Model.
Double click on the Action button to set some rules for it.
In this example, we want the brake sound to play when you apply the brake.
Set the first line of the Action formula so it reads:
If A (click on A apply brake)
Then click on the sound open icon at the bottom of the dialog box to choose a suitable sound effect.
Set the sound effect to brake.wav and click Open.
Your Action formula should now read:
If A play sound brake repeatedly
Click OK to accept this new instruction for your simulation
Try out your simulation (in Model or Scene view) and your newly added sound effect will play.