From 3fe0fcb9e2eba52ab24d076a2316d8f5f0b3163d Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 18 Apr 2022 19:24:58 -0400 Subject: [PATCH] Added notes on how to use Polly --- packages/notify.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/packages/notify.yaml b/packages/notify.yaml index 79639cc..155e727 100644 --- a/packages/notify.yaml +++ b/packages/notify.yaml @@ -1,6 +1,35 @@ # ATTENTION: The actual notify services are currently defined in configuration.yaml and NOT in this file. # Just a note because I've already forgotten once ;) +############################################################################### +# AWS Polly Options: +# pause: +# +# emphasis: +# really like +# level attribute values: +# Strong: Increases the volume and slows the speaking rate so that the speech is louder and slower. +# Moderate: Increases the volume and slows the speaking rate, but less than strong. Moderate is the default. +# Reduced: Decreases the volume and speeds up the speaking rate. Speech is softer and faster. +# Pause Between Paragraphs: +# Wrap text in

+# Adding a Pause Between Sentences: +# Ending a sentence with a period (.) +# Controlling How Special Types of Words Are Spoken: +# [text to be interpreted] +# characters or spell-out: Spells out each letter of the text, as in a-b-c. +# cardinal or number: Interprets the numerical text as a cardinal number, as in 1,234. +# ordinal: Interprets the numerical text as an ordinal number, as in 1,234th. +# digits: Spells out each digit individually, as in 1-2-3-4. +# fraction: Interprets the numerical text as a fraction. This works for both common fractions such as 3/20, and mixed fractions, such as 2 ½. See below for more information. +# unit: Interprets a numerical text as a measurement. The value should be either a number or a fraction followed by a unit with no space in between as in 1/2inch, or by just a unit, as in 1meter. +# date: Interprets the text as a date. The format of the date must be specified with the format attribute. See below for more information. +# time: Interprets the numerical text as duration, in minutes and seconds, as in 1'21". +# address: Interprets the text as part of a street address. +# expletive: "Beeps out" the content included within the tag. +# telephone: Interprets the numerical text as a 7-digit or 10-digit telephone number, as in 2025551212. You can also use this value for handle telephone extensions, as in 2025551212x345. See below for more information. +################################################################################ + input_boolean: text_notify_tony: name: Send Texts to Tony