AudioDeepfakeDetectorBase<T>

Base Classes · AiDotNet.Safety.Audio

Abstract base class for audio deepfake detection modules.

Inheritance: ModelBase<T, Vector<T>, Vector<T>> → SafetyModuleBase<T> → AudioSafetyModuleBase<T> → AudioDeepfakeDetectorBase<T>

Implements: IAudioDeepfakeDetector<T>

For Beginners

This base class provides common code for all audio deepfake detectors. Each detector type extends this and adds its own way of detecting AI-generated or cloned voices.

How It Works

Provides shared infrastructure for audio deepfake detectors including sample rate configuration and common spectral analysis utilities. Concrete implementations provide the actual detection algorithm (spectral, voiceprint, watermark).

Methods

Method Summary
double GetDeepfakeScore(Vector<T> audioSamples, int sampleRate)