setOutput

Top  Previous  Next

This function will set the output device.

Definition

success = speech.setOutput( device )

 

Name

Type

Description

success

boolean

return value, indicating success

device

string

Name of device selected from list returned by listOutputs.

Example

speech.setOutputs("headset") -- adjust headset to your actual hardware name as obtained by listOutputs.

Availability

Lua