Skip to content
kajweb-740 edited this page Sep 9, 2020 · 1 revision

def displayAudioOutputLists( title=False )

Display the list of playback devices

def getAudioOutputCount()

Get the number of playback devices

def getAudioOutputLists()

Get a list of playback devices

def isExitsAudioOutput( index )

Determine whether the serial number of the audio output device exists

def getAudioOutput()

Get the current output device

def getAudioOutputIndex()

Get the serial number of the current output device

def getAudioOutputName()

Get the current output device name

def setAudioOutput( index )

Set output device

def getVoice()

Get current speaker

def getVoiceName()

Get current speaker information

def isExitsVoice( index )

Determine whether the serial number of the audio output device exists

def getVoiceCount()

Get the number of announcers

def displayVoiceLists( title=False )

Show announcer list

def getVoiceLists()

Get the list of speakers in the system

def getVoiceIndex()

Get the serial number of the current output device

def getVoiceName()

Get the name of the announcer

def setVoice( index )

Set announcer

def getVolume()

Obtain the output volume (0-100)

def setVolume( value)

Set the output volume (0-100)

def speak( sentence, flags=0 )

Play sound