m (fixed typos) |
|||
Line 3: | Line 3: | ||
[[Category:Action_Library]] | [[Category:Action_Library]] | ||
− | ;Description: Action used to play | + | ;Description: Action used to play beep sound |
;Action returns: void | ;Action returns: void | ||
Line 25: | Line 25: | ||
|- | |- | ||
| <code>durationSourceId</code> | | <code>durationSourceId</code> | ||
− | | [[source]] from where the | + | | [[source]] from where the duration value in ms will be used. |
* Valid [[source|sources]]: | * Valid [[source|sources]]: | ||
** <code>[[Datatypes#text|text]]</code> | ** <code>[[Datatypes#text|text]]</code> |
Revision as of 11:57, 2 August 2017
gn:act_beep
- Description
- Action used to play beep sound
- Action returns
- void
Action signatures
Play beep
[gn:act_beep]|[toneSourceId,durationSourceId,volumeSourceId]
Parameter Description toneSourceId
source from where the tone id will be used. Tone ids are defined in ToneGenerator
durationSourceId
source from where the duration value in ms will be used. volumeSourceId
source from where the volume level will be used. Can be:
0-100
Example
37
- tone id1000
- duration in ms100
- max volume
- ⤷
[gn:act_beep]|[37,1000,100]
- ⤷