Overview Button play sound



Sounds can be played with this control element. The sounds must be in WAV format and can be imported under Project settings  - Sounds.



View

TextText to display. The size of the text is automatically scaled with the widget. Line breaks can be inserted with the special character "\n", for example "Line1\nLine2"
BackgroundBackground color
FontFont color
ImageGraphic selection, see Project graphics.
Use styleIf this option is enabled, the background and font color are taken from the active style.

Audio

Use system sound If enabled, the simple sound of the device is played instead of the audio file (Windows: system sound, Android: notification sound, iOS: notification tone). The audio file selection is then hidden; a file that was already selected is not played. On iOS the sound follows the silent switch, on Android the notification volume. Disabled: the audio file is played.
Audio Audio file selection
Trigger Trigger for address. If an address was linked, a trigger can be defined here at which the sound is played.
Change page With this option, the page on which the control element was created is automatically changed when the trigger is released.
Only for users Optional. User names separated by ";". The trigger only plays the sound (and changes the page) on devices where one of these users is logged in to the APP. Empty: the sound is played on all devices. If a user is entered but nobody is logged in, no sound is played. Tapping the control element always plays the sound. The button in the input field opens a menu with the users of the user management: tick the users and confirm with Apply. The names can also be entered manually.

Frame

FrameSee general properties

Connected addresses

Trigger
Trigger for address. If a address was linked, a trigger can be defined here at which the sound is played.


See also General properties of all control elements