SSML Builder for Alexa
Project description
ssml-builder
Installation
pip install ssml-builder
Usage
- Create a Speech object
from ssml_builder.core import Speech
speech = Speech()
- Add text and tags
# add text
speech.say("hello world")
# add pause tag
speech.pause("10s")
# add prosody tag
speech.prosody("x-fast")
- Output ssml with <speak> wrapper
speech.speak()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ssml_builder-1.0.4.tar.gz
(1.6 kB
view hashes)