API
audibleAlerts.opentts_bridge Namespace Reference

Functions

def check_opentts_service_status (api_url)
 
def speak (speech, default_voice, api_url, cache_dir)
 
def ssml_to_wav (ssml_text, default_voice, api_url, cache_dir)
 
def play_wav (wav_path)
 

Variables

 log = logging.getLogger(__name__)
 

Function Documentation

◆ check_opentts_service_status()

def audibleAlerts.opentts_bridge.check_opentts_service_status (   api_url)

Definition at line 13 of file opentts_bridge.py.

Referenced by audibleAlerts.opentts_bridge.ssml_to_wav().

◆ play_wav()

def audibleAlerts.opentts_bridge.play_wav (   wav_path)

Definition at line 56 of file opentts_bridge.py.

Referenced by audibleAlerts.opentts_bridge.speak().

◆ speak()

def audibleAlerts.opentts_bridge.speak (   speech,
  default_voice,
  api_url,
  cache_dir 
)

Definition at line 16 of file opentts_bridge.py.

Referenced by audibleAlerts.core.AudibleAlerts.loop().

◆ ssml_to_wav()

def audibleAlerts.opentts_bridge.ssml_to_wav (   ssml_text,
  default_voice,
  api_url,
  cache_dir 
)

Definition at line 26 of file opentts_bridge.py.

Referenced by audibleAlerts.opentts_bridge.speak().

Variable Documentation

◆ log

audibleAlerts.opentts_bridge.log = logging.getLogger(__name__)

Definition at line 11 of file opentts_bridge.py.