mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-05 18:09:22 +08:00
add csharp example
This commit is contained in:
21
examples/csharp/SileroSpeechSegment.cs
Normal file
21
examples/csharp/SileroSpeechSegment.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace VadDotNet;
|
||||
|
||||
public class SileroSpeechSegment
|
||||
{
|
||||
public int? StartOffset { get; set; }
|
||||
public int? EndOffset { get; set; }
|
||||
public float? StartSecond { get; set; }
|
||||
public float? EndSecond { get; set; }
|
||||
|
||||
public SileroSpeechSegment()
|
||||
{
|
||||
}
|
||||
|
||||
public SileroSpeechSegment(int startOffset, int? endOffset, float? startSecond, float? endSecond)
|
||||
{
|
||||
StartOffset = startOffset;
|
||||
EndOffset = endOffset;
|
||||
StartSecond = startSecond;
|
||||
EndSecond = endSecond;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user