Class VoiceSettings
Inheritance
Namespace: Glitch9.AIDevKit.ElevenLabs
Assembly: .dll
Syntax
public class VoiceSettings
Properties
SimilarityBoost
Optional. Determines how closely the AI should adhere to the original voice when attempting to replicate it.
Declaration
public double? SimilarityBoost { get; set; }
Property Value
Type | Description |
---|---|
double? |
Speed
Optional. Controls the speed of the generated speech. Values range from 0.7 to 1.2, with 1.0 being the default speed. Lower values create slower, more deliberate speech while higher values produce faster-paced speech. Extreme values can impact the quality of the generated speech.
Declaration
public double? Speed { get; set; }
Property Value
Type | Description |
---|---|
double? |
Stability
Optional. Determines how stable the voice is and the randomness between each generation. Lower values introduce broader emotional range for the voice. Higher values can result in a monotonous voice with limited emotion.
Declaration
public double? Stability { get; set; }
Property Value
Type | Description |
---|---|
double? |
Style
Optional. Determines the style exaggeration of the voice. This setting attempts to amplify the style of the original speaker. This setting consumes additional computational resources and might increase latency if set to anything other than 0.
Declaration
public double? Style { get; set; }
Property Value
Type | Description |
---|---|
double? |
UseSpeakerBoost
Optional. This setting boosts the similarity to the original speaker. Using this setting requires a slightly higher computational load, which in turn increases latency.
Declaration
public bool? UseSpeakerBoost { get; set; }
Property Value
Type | Description |
---|---|
bool? |
UseStyleExaggeration
Optional. The use of style exaggeration in the voice output.
Declaration
public bool? UseStyleExaggeration { get; set; }
Property Value
Type | Description |
---|---|
bool? |