How do I insert sound into the created panel, such as the sound of the turn signal being turned on, the sound of the door opening, the sound of the seat belt, the sound of the handbrake?
RealDash can play sound effects by adding sound effects to its assets. Make an Action of type ‘Play sound effect’. In action settings you have an option to import sound effect file.
I didn’t quite understand how to do this, can you give me some steps or an example of how to do it?
- Start editing your dashboard
- Add new button and tap ‘Input & values’ on top menu
- Tap button below ‘Select Button Actions’
- Tap New Action
- Give action a name, like “Play Sound”
- For Action Type, select “Play sound effect”
- After action type has been selected, new options appear on action screen. Tap on ‘Browse File’ to enter assets view.
- Tap the big ‘plus’ sign and browse your filesystem for a sound file. At least wav and mp3 files are supported. Then Tap ‘Done’ to exit assets popup.
- Now you can press the ‘Test’ button to verify that sound effect file is working.
- Tap upper left ‘Done’ until you are back in your dashboard.
- Save your dashboard and try tapping your new button.
Actions can be triggered directly by a button gauge, or by any trigger based on current input values.
Thank you very much, I did as described, but the sound does not play when the arrow flashes in the simulation, what am I doing wrong, watch the video
Yes, unfortunately the simulation mode does not actually change the input values so triggers will not trigger. This was changed pretty recently but we will go back to old simulation mode that ‘actually’ changes the input values.
Good morning, so what I did is correct, but I tried to take it to the Arduino board that is in the car and all the functions are working, such as arrows, handbrake, battery, door and others, but the sound is not present, could there be something wrong with the procedures I did, thank you
Have you tried test playing the sound first to see if the device can play it.
Yes, it plays normally, only when the panel is saved, there is no sound that was configured in actions. I have some panels already assembled that have sounds, but I wanted to change them, but it is also difficult to know how they were created and what sound name is linked to each icon. In these panels that have already been created, the sound is normal both in the simulation and in the car.