PDA

View Full Version : LUA Voice commands



jwilson56
November 7th, 2008, 08:16 AM
After spending too much time looking for some of these commands I decided to post them here for reference. These are the LUA equivalents to the Action commands:



-- Overides the time
Voice:OverRideTime(true)

- Sets the volume
Voice:SetVolume(50)

-- Set Voice (look at Action drop down for the names the voices you can use)
Voice:SetVoice('NeoSpeech Kate 16k')

-- Speak a string
Voice:Speak('Hello World')

Voice:SetVoice('NeoSpeech Paul 16k')
Voice:Speak('Hello World')

-- Example given in help file to speak hour and minute
Voice:Speak(date:now().Hour)
Voice:Speak(date:now().Minute)