Skip to content

Custom component for Home Assistant replacing original

Notifications You must be signed in to change notification settings

realthk/microsoft_tts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft Text-to-Speech (TTS)

The original MS TTS cannot change parameters like gender and type dynamically, as it pays no attention to the option parameter.

This component passes over optional

  • gender
  • type
  • rate
  • volume
  • pitch
  • contour

parameters.

Install

Clone this repo under custom_components

eg.

cd [HA PATH]/custom_components
git clone https://github.com/realthk/microsoft_tts.git

and restart Home Assistant

Sample call:

  action:
    - service: tts.microsoft_say
      data:
        entity_id: media_player.mpd
        message: teszt2
        options: 
          gender: Female
          type: NoemiNeural

Where gender is Male or Female, type is "Voice name" without the language prefix from Microsoft's documentation, eg. TamasNeural

About

Custom component for Home Assistant replacing original

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages