Property Duration
Duration
Gets or sets the maximum duration of audio to transcribe.
public TimeSpan Duration { get; set; }
Property Value
- TimeSpan
A TimeSpan indicating how long, starting from the Start offset, the speech-to-text engine will process. A value of
TimeSpan.Zero
means process until end.
Examples
engine.Duration = TimeSpan.FromSeconds(60);