Skip to content

pass options through to tts.say for voice #25

@Edz2K23

Description

@Edz2K23

When using tts.say and the piper tts service how can the option: voice be passed through to use a non standard voice?

This is so cusom voices loaded into /share/piper can be used. jsdon and onnx models can be used this way by specifying them:

  options:
    voice: jarvis-medium

Ive tried adding that to the configuration but either Ive got it wrong or its not passed through, as is piper can only speak in the default set voice which limits you to those in the container as the default (again unless im missing something)

- platform: lms_tts_notify
  name: testbox
  tts_service: tts.speak
  entity_id: tts.piper
  media_player: media_player.picoreplayer
  device_group: group.all_persons
  options:
    voice: jarvis-medium
  volume: 0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions