Step tts-for-dtbook {http://www.daisy.org/ns/pipeline/xproc}

Enriches a DTBook document with break detection and generates audio clips with TTS.

Defined in: http://www.daisy.org/pipeline/modules/daisy3-utils/library.xpl

Input Ports

Port Description
source.fileset primary

The source fileset with DTBook documents, lexicons and CSS style sheets.

source.in-memory sequence
config

Configuration file with voice mappings, PLS lexicons and annotations.

Output Ports

Port Description
audio-map
result.fileset primary
result.in-memory sequence
status
log sequence

Options

Local Name Namespace URI Default Description
include-log 'false'

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

audio 'true'

Enable Text-To-Speech

Whether to use a speech synthesizer to produce audio files.

audio-file-type 'audio/mpeg'

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

Examples:

  • "audio/mpeg"
  • "audio/x-wav"
process-css 'true'

Set to false to bypass aural CSS processing.

stylesheet ''

CSS style sheets as space separated list of absolute URIs.

stylesheet-parameters '()'

Parameters that are passed to SCSS style sheets.

lexicon ()

PLS lexicons as list of absolute URIs.

word-detection 'true'

Whether to detect and mark up words with <w> tags.

temp-dir ''

Empty directory dedicated to this conversion. May be left empty in which case a temporary directory will be automatically created.