Modifier and Type | Field and Description |
---|---|
AudioInputStream |
audio
The audio produced by the TTS processor.
|
List<Integer> |
marks
The mark offsets (in bytes) corresponding to the
ssml:mark elements of the input SSML. |
Constructor and Description |
---|
SynthesisResult(AudioInputStream audio) |
SynthesisResult(AudioInputStream audio,
List<Integer> marks) |
public final AudioInputStream audio
AudioFormat
of
the stream must be the same every time the same voice is used.public final List<Integer> marks
ssml:mark
elements of the input SSML. The order must be
kept. The offsets are relative to the AudioInputStream
. That
is, they start at 0. May be null
if the TTS processor
doesn't handle SSML marks.public SynthesisResult(AudioInputStream audio)
public SynthesisResult(AudioInputStream audio, List<Integer> marks)
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.