playDuration(duration [, hourFormat])
Play a time value (text to speech)
Last updated
Was this helpful?
Play a time value (text to speech)
Supported Targets: BW, COLOR
Status: current Introduced in 2.1.0, changed in 2.10
duration (number) number of seconds to play. Only integral part is used.
hourFormat (number):
0 or not present play format: minutes and seconds.
!= 0 play format: hours, minutes and seconds.
none
playDuration(101, 0, 5) -- play duration 101s, seconds format, use Wav volume 5
playDuration(101, 0, 1) -- play duration 101s, seconds format, use Wav volume 1
playDuration(101, 1) -- play duration 101s, hour format, use radio settings Wav volumeLast updated
Was this helpful?
Was this helpful?