CsmSegment<T>

Models & Types · AiDotNet.TextToSpeech.CodecBased

A turn of conversation CSM conditions on: who spoke (Speaker), what they said (Text), and the recording of it (Audio, at the model’s 24 kHz).

Constructors

Constructor Summary
CsmSegment()

Properties

Property Summary
Tensor<T> Audio { get; set; } The recording, [samples] at the model’s sample rate.
int Speaker { get; set; } The speaker’s index (CSM writes it as “[n]” in front of the text).
string Text { get; set; } The words spoken.