Add APIs about max speech duration in VAD for various programming languages (#1349)
This commit is contained in:
@@ -14,6 +14,7 @@ namespace SherpaOnnx
|
||||
MinSilenceDuration = 0.5F;
|
||||
MinSpeechDuration = 0.25F;
|
||||
WindowSize = 512;
|
||||
MaxSpeechDuration = 5.0F;
|
||||
}
|
||||
|
||||
[MarshalAs(UnmanagedType.LPStr)]
|
||||
@@ -26,5 +27,7 @@ namespace SherpaOnnx
|
||||
public float MinSpeechDuration;
|
||||
|
||||
public int WindowSize;
|
||||
|
||||
public float MaxSpeechDuration;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user