AudioSafetyConfig
Options & Configuration · AiDotNet.Safety.Audio
Configuration for audio safety detection modules.
For Beginners
Use this to configure audio safety detection including deepfake detection, toxic speech detection, and voice protection settings.
Constructors
| Constructor | Summary |
|---|---|
AudioSafetyConfig() |
Properties
| Property | Summary |
|---|---|
bool? VoiceProtection { get; set; } |
Whether to enable voice protection (anti-cloning). |
double? DeepfakeThreshold { get; set; } |
Deepfake detection threshold (0.0-1.0). |
double? ToxicityThreshold { get; set; } |
Toxicity detection threshold (0.0-1.0). |
int? SampleRate { get; set; } |
Default sample rate for audio processing. |