Click or drag to resize
SpeechAudioFormatcreateSiren7Format Method
Produces a SpeechAudioFormat for data encoded in Siren7. The data must be encoded in mono, such that a 320 sample mono input frame produces a 40 bytes output frame.
Produces a SpeechAudioFormat for data encoded in Siren7. The data must be encoded in mono, such that a 320 sample mono input frame produces a 40 bytes output frame.

Namespace: Microsoft.CognitiveServices.SpeechRecognition
Assembly: SpeechClient (in SpeechClient.dll) Version: 0.0.0.0
Syntax
public static SpeechAudioFormat createSiren7Format(
	int sampleRate
)

Parameters

sampleRate
Type: Int32
The samples per second of the audio that was encoded (must be 8000 or 16000). The samples per second of the audio that was encoded (can only by 8000 or 16000).

Return Value

Type: SpeechAudioFormat
The created SpeechAudioFormat.

Return Value

Type: SpeechAudioFormat
The created SpeechAudioFormat.
See Also