Have you ever wanted to play sound effects on flow screens? If so, this component is the solution that you are looking for.
SoundCMP Lightning Component
SoundCMP is a Lightning Component that plays a sound effect that you select. It doesn’t come with any sound effects but instead it plays the sound file that you upload to the system. It can be any sound file that you want, it doesn’t need to be an effect. You can even play a speech that will guide the user through the process.
This component has only one input parameter called Sound File. You have to enter the name of the sound file that you uploaded to Static Resources.
This component gets the sound file from Static Resources and then plays it. It is recommended to use small sound files for the performance of the component. Otherwise it might take long time for the component to load the file.
It is a Lightning Component that can be used on Flow screens, therefore it is available only for Screen Flows. Read this post to learn more about Flow Types.
How to Use the Component
1- Upload your sound file to Static Resources.
2- Drag and drop the “SoundCMP” to your flow screen.
3- Enter the name of the sound file that you uploaded to Static Resources to “Sound File” input. Pay attention that you enter the name of the Static Resource, not the file itself.
Use this component together with the Confetti component on a success screen! It is a great and effective way to display a success message to the user.
You can install this component to your Production/Developer Edition org using this link.
You can install this component to your Sandbox environment using this link.
Watch this video to see the component in action.