- synth text #!key (position 0) (position-type pos/char) (end-position #f) (ssml #f) (phonemes #f) (endpause #f)procedure
- synth-mark text index-mark #!key (end-position 0) (ssml #f) (phonemes #f) (endpause #f)procedure
The basic speech synthesis function.
- position
- The position in the text where speaking starts.
- position_type
- One of pos/char, pos/word, or pos/sentence. It seems pos/char currently acts like pos/word, and the other two are 1-indexed.
- end_position
- A character position at which speaking will stop.
- ssml
- elements within < > are treated as espeak SSML.
- phonemes
- elements within [[ ]] are treated as Kirshenbaum encoded phonemes
- endpause
- wheter to add a sentence pause to the end of the text.
synth-mark is like synth, but an SSML <mark name="example"> element indicates the beginning of speech, with the name passed to index-mark