BarkGenerationOptions

Options & Configuration · AiDotNet.TextToSpeech.CodecBased

Stage-specific sampling and generation controls.

Constructors

Constructor Summary
BarkGenerationOptions()

Properties

Property Summary
SamplingOptions CoarseSampling { get; set; } Coarse sampling controls.
SamplingOptions FineSampling { get; set; } Fine-acoustic sampling controls.
SamplingOptions SemanticSampling { get; set; } Semantic sampling controls.
bool AllowEarlyStop { get; set; } Stop semantic generation when its special padding/EOS token is selected.
double SemanticEarlyStopProbability { get; set; } Probability threshold for Bark’s semantic EOS token.
int? MaxSemanticTokens { get; set; } Maximum semantic tokens; null uses MaxSemanticNewTokens.