Step ssml-to-audio {http://www.daisy.org/ns/pipeline/xproc}

Defined in: http://www.daisy.org/pipeline/modules/tts-common/library.xpl

Input Ports

Port Description
source primary sequence

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).

config

Output Ports

Port Description
result primary

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

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.

log sequence

Options

Local Name Namespace URI Default Description
audio-file-type 'audio/mpeg'

The desired file type of the generated audio files, specified as a MIME type.

Examples:

  • "audio/mpeg" (MP3)
  • "audio/x-wav" (WAVE)
include-log 'false'

Whether or not to make the TTS log available on the "log" port.

temp-dir ''

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.