Ever wanted a specific song or music to play as an action resulting from a set of logic? Whether it's an alarm, or a specific song which reminds you something happened, this is possible through the Sound Player Virtual Block.
The Sound Player Virtual Block allows you to configures sounds as actions within your Logic Maker. By default, you have access to four staple sounds:
- Siren
- Error
- Beep
- Horn
However, you're able to upload or link to any sound file you can think of.
Insert the Sound Player Virtual Block by clicking on the Quick Menu, and then selecting Sound Player from the Virtual Blocks Menu.
Once you have inserted the Virtual Block into your Workspace, you can upload or link sounds through the block's Properties Panel. This is accessible via the Gear Icon.
This will open the Properties Panel on the right hand side of the Creator. This is where you will see the default sounds, as well as the Add New Audio button. You can play the default sounds by clicking on the Play Icon next to each to see if any of them are applicable for your project. If not, you can click on the plus icon to add your own sound.
When clicking on the Plus icon, you will have either have the option to upload a mp3 file from your computer or link to a mp3 file.
When uploading a file, when you click on the upload icon, a file directory will popup. Simply just navigate to to the file you wish to upload, and then click on Open.
If the file upload is supported (mp3), the upload icon should change colour to green and a play icon should appear. If the file is unsupported, the icon will turn to orange, please try another file to upload.
Another option is to link to a mp3 file via a URL. This can be done by clicking on the cloud icon. This will create a box where you can paste your URL link.
Warning: only URL links ending in .mp3 will work, links to Spotify, Dropbox, YouTube or any other URLs which do not end in .mp3 will not work.
Once you have uploaded or linked to your desired sound, you can rename the sound by clicking on the name.
In the Logic Maker, you can access this sound and the default sounds via the ACTION Gate.