Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Allow use of SSML #2

@DannyBen

Description

@DannyBen

Hi again.

I noticed that the #synthesize method does not allow passing additional parameters, so as I understand it, there is no way to pass SSML to this method.

I was thinking, maybe provide one or both of these options:

  1. If the text argument is detected as SSML (e.g., if it starts with <speak>), then automatically set text_type: 'ssml' when calling #synthesize_speech
  2. Instead of (or better, in addition to) the above, maybe add optional opts={} argument to the method, and merge these options when calling #synthesize_speech

Thoughts?

Would you accept a pull request for this, and maybe for #1 as well?

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