summaryrefslogtreecommitdiffstats
path: root/WhisperNet
diff options
context:
space:
mode:
authorKonstantin <const@const.me>2023-01-29 16:10:16 +0100
committerKonstantin <const@const.me>2023-01-29 16:10:16 +0100
commit850bf49466c15214fc5c232cad268662df6ad68a (patch)
tree41a20172414ccc32a6a39abea28859eeca70e79c /WhisperNet
parent34cf65fad2c8964d4ee48e8ec4becef86b5b23dc (diff)
C# console example, diarize feature
Diffstat (limited to 'WhisperNet')
-rw-r--r--WhisperNet/Context.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/WhisperNet/Context.cs b/WhisperNet/Context.cs
index 6c6a737..4bea863 100644
--- a/WhisperNet/Context.cs
+++ b/WhisperNet/Context.cs
@@ -197,5 +197,9 @@ namespace Whisper
fullParams.prompt_n_tokens = 0;
}
}
+
+ /// <summary>Try to detect speaker by comparing channels of the stereo PCM data</summary>
+ public eSpeakerChannel detectSpeaker( sTimeInterval interval ) =>
+ context.detectSpeaker( ref interval );
}
} \ No newline at end of file