diff options
| author | Konstantin <const@const.me> | 2023-01-29 16:10:16 +0100 |
|---|---|---|
| committer | Konstantin <const@const.me> | 2023-01-29 16:10:16 +0100 |
| commit | 850bf49466c15214fc5c232cad268662df6ad68a (patch) | |
| tree | 41a20172414ccc32a6a39abea28859eeca70e79c /WhisperNet | |
| parent | 34cf65fad2c8964d4ee48e8ec4becef86b5b23dc (diff) | |
C# console example, diarize feature
Diffstat (limited to 'WhisperNet')
| -rw-r--r-- | WhisperNet/Context.cs | 4 |
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 |
