startDetector
abstract fun startDetector( reader: SharedDataStream.Reader, audioFormat: AudioFormat, timeoutInSeconds: Int, maxDurationInSeconds: Int = 10, pauseLengthInMilliseconds: Int = 700): Boolean
Content copied to clipboard
Start end point detection.
Return
true: success to start, false: otherwise.
Parameters
reader
reader for audio source
audioFormat
audio format for reader's stream
timeoutInSeconds
the silence timeout in seconds
maxDurationInSeconds
the allowed maximum speech duration from SPEECH_START to SPEECH_END in seconds (default = 10sec)
pauseLengthInMilliseconds
the inter-breath time which determine speech end in milliseconds(default = 700ms)