.NET API
SpeechDialogueAudio
Tracon.Abstractions.dllThe audio of a dialogue and the time range of each turn.
public sealed class SpeechDialogueAudio- Inheritance
- object ← SpeechDialogueAudio
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”A class, not a record, for the reason SpeechAudio gives: a
generated ToString or equality must not walk the audio.
Constructors
Section titled “Constructors”SpeechDialogueAudio()
Section titled “ SpeechDialogueAudio()”public SpeechDialogueAudio()Properties
Section titled “Properties”Gets the audio of the whole dialogue.
public required SpeechAudio Audio { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”SpeechAudio.CharactersBilled, SpeechAudio.UsageSource and SpeechAudio.ModelId describe the whole request. SpeechAudio.Alignment times the turns’ texts joined in order, with no separator.
Segments
Section titled “ Segments”Gets the time range of each spoken part, in order; null when SpeechDialogueRequest.IncludeTimestamps was not set, when the provider does not report them, or when the provider’s report does not match the turns.
public IReadOnlyList<SpeechDialogueSegment>? Segments { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<SpeechDialogueSegment>?
Remarks
Section titled “Remarks”One turn can have more than one segment. A report that names a turn the request did not have or a voice the turn did not use, that leaves a turn without a segment, or that is out of order is dropped whole rather than mapped to the wrong turn.