From wiki.ginstr.com
Jump to: navigation, search
m (fixed typos)
Line 3: Line 3:
 
[[Category:Action_Library]]
 
[[Category:Action_Library]]
  
;Description: Action used to play beed sound
+
;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 duratiopn value in ms will be used.
+
| [[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 id
1000 - duration in ms
100 - max volume
[gn:act_beep]|[37,1000,100]