xml.xproc.ssml-to-audio.xpl Maven / Gradle / Ivy
Show all versions of tts-common Show documentation
The SSML documents.
All s
elements are expected to have id
and xml:lang
attributes.
Mark names are expected to be of the form "X___Y", where "X" uniquely identifies the part
of the sentence before the mark (and after the preceding mark), and where "Y" uniquely
identifies the part of the sentence after the mark (and before the following mark).
d:audio-clips
document that lists the generated audio files and maps SSML
elements (sentences, or parts of sentences before/after/between marks) to audio clips (audio
file, start time, end time).
Status document expressing the success rate of the text-to-speech process. The
format is an extension of the "application/vnd.pipeline.status+xml"
format: a d:status
element with a result
attribute that
has the value "ok" if there were no errors, or "error" when there was at least one
error. A tts-success-rate
attribute contains the percentage of the SSML
input that got successfully converted to speech.
The desired file type of the generated audio files, specified as a MIME type.
Examples:
- "audio/mpeg" (MP3)
- "audio/x-wav" (WAVE)
Whether or not to make the TTS log available on the "log" port.
If not empty, this directory will be used to store audio files. The directory must not
exist yet. Overrides the global org.daisy.pipeline.tts.audio.tmpdir
setting.